Show Table

Column Verbose Name Type Groupable Filterable Is temporal
chargeday None DATETIME
projectminihash None STRING
rn Linha STRING
pontual Pontual None
atrasado Atrasado None
adiantado Adiantado None
extra Extra None
monitorado Monitorado INT
planejado Planejado INT
porcentagemmonitorado Eficiência (%) INT
porcentagematrasado Atrasado (%) None
porcentagemadiantado Adiantado (%) None
porcentagempontual Pontual (%) None
porcentagemextra Extra (%) None
dayoperacao Data STRING
Record Count: 15
Metric Verbose Name Type
count None None
Record Count: 1
Table Name Leonardo Bernardinelli-Untitled Query 2-O_8tiB7ZI
Sql select chargeday, projectminihash, rn, sum(pontual) as pontual, sum(atrasado) as atrasado, sum(adiantado) as adiantado, sum(extra) as extra, sum(monitorado) as monitorado, sum(planejado) as planejado, case when sum(planejado) = 0 then 0 else (100*sum(monitorado)/sum(planejado)) end as porcentagemmonitorado, case when sum(monitorado) = 0 then 0 else (100*sum(atrasado)/sum(monitorado)) end as porcentagematrasado, case when sum(monitorado) = 0 then 0 else (100*sum(adiantado)/sum(monitorado)) end as porcentagemadiantado, case when sum(monitorado) = 0 then 0 else (100*sum(pontual)/sum(monitorado)) end as porcentagempontual, case when sum(monitorado) = 0 then 0 else (100*sum(extra)/sum(monitorado)) end as porcentagemextra, cast(substring(chargeday,9,2)||'-'||substring(chargeday,6,2)||'-'||substring(chargeday,1,4) as varchar(10)) as dayoperacao from eficiencia group by chargeday,projectminihash,rn
Enable Filter Select False
Fetch Values Predicate None
Database realtime_db
Schema None
Description None
Owners [Leonardo Bernardinelli]
Main Datetime Column None
Default Endpoint None
Offset 0
Cache Timeout None
SQL Lab View True
Template parameters None
Perm [realtime_db].[Leonardo Bernardinelli-Untitled Query 2-O_8tiB7ZI](id:262)
Associated Charts [Eficiência Diária - Tabela]