Column | Verbose Name | Type | Groupable | Filterable | Is temporal | |
---|---|---|---|---|---|---|
typeroute | None | STRING | ||||
chargeday | None | DATETIME | ||||
projectminihash | None | STRING | ||||
efciencia | None | INT | ||||
dayoperacao | None | STRING |
Table Name | Leonardo Bernardinelli-Untitled Query 2-xt4r0wBSz |
---|---|
Sql | select typeroute ,chargeday ,projectminihash ,case when sum(planejado) = 0 then 0 else (100*sum(monitorado)/sum(planejado)) end as efciencia ,cast(substring(chargeday,9,2)||'-'||substring(chargeday,6,2)||'-'||substring(chargeday,1,4) as varchar(10)) as dayoperacao from eficiencia group by projectminihash, typeroute, chargeday |
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 | [None].[Leonardo Bernardinelli-Untitled Query 2-xt4r0wBSz](id:287) |
Associated Charts | [Eficiência por categoria de linha] |