Show Table

Column Verbose Name Type Groupable Filterable Is temporal
ragione_sociale None STRING
user_id None INT
partita_iva None STRING
partita_iva_desc None STRING
shareCapital None STRING
yearenddate None STRING
datetime None DATETIME
Record Count: 7
Metric Verbose Name Type
count None None
Record Count: 1
Table Name admin user-shareCapital_data_disgreg--54cJEmcF
Sql select replace(d.valore_n, '"','') as codice_ateco, replace(c.valore_n, '"','') as ragione_sociale , c.partita_iva, 'P.IVA:'||c.partita_iva||'' as partita_iva_desc, a.valore_n as "totalValueOfProduction", substring(b.valore_n from 2 for 10) AS yearenddate, substring(b.valore_n from 2 for 10)::TIMESTAMP AS datetime, case when z.zona is null then 'ND' else replace(z.zona, '"', '') end as zona from (SELECT rowid1, vat_number as partita_iva ,campo, valore_n FROM v_financial_deaggr where campo in ('totalValueOfProduction') GROUP BY 1,2,3,4) a left join (SELECT rowid, vat_number as partita_iva ,campo, valore_n FROM v_financial_deaggr where campo in ('yearEndDate') GROUP BY 1,2,3,4) b on a.partita_iva=b.partita_iva and a.rowid1=b.rowid left join (select valore_n, campo, partita_iva, id from public.v_company_deaggr where campo='name' group by 1,2,3,4) c on a.partita_iva=c.partita_iva left join (select id,valore_n, campo, partita_iva from public.v_company_deaggr where campo='activityCode' group by 1,2,3,4)d on d.id=c.id left join (select valore_n as zona, vat_number as partita_iva from public.v_settlement_deaggr where campo='zona' group by 1,2) z on c.partita_iva=z.partita_iva
Enable Filter Select False
Fetch Values Predicate None
Database fascicoloimprese
Schema public
Description None
Owners [admin user]
Main Datetime Column None
Default Endpoint None
Offset 0
Cache Timeout None
SQL Lab View True
Template parameters None
Perm [fascicoloimprese].[admin user-shareCapital_data_disgreg--54cJEmcF](id:38)
Associated Charts [Valore della Produzione per Codice Ateco]