Skip to content

Commit

Permalink
Merge pull request #28 from EJOOSTEROP/superset_dashboard
Browse files Browse the repository at this point in the history
Superset dashboard
  • Loading branch information
EJOOSTEROP authored Apr 25, 2023
2 parents 203a6f8 + e4ca40a commit 5efc2e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions meltano_transform/models/gie_rpt/rpt_gie_storage.sql
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ FROM

COMPANY AS
(SELECT
gasdaystart,
gasdaystart::DATE gasdaystart,
code as company_eic,
name as company_name,
TRY_CAST(gasinstorage AS DOUBLE) as comp_gasinstorage,
Expand All @@ -51,7 +51,9 @@ select
workinggasvolume,
comp_workinggasvolume,
injection,
withdrawal
withdrawal,
year(sso.gasdaystart) as reporting_year,
make_date(2000, month(sso.gasdaystart), day(sso.gasdaystart)) as reporting_day
from SSO left join COMPANY
on sso.gasdaystart = COMPANY.gasdaystart
and
Expand Down
Binary file removed standup/dashboards prior.zip
Binary file not shown.
Binary file modified standup/dashboards.zip
Binary file not shown.

0 comments on commit 5efc2e7

Please sign in to comment.