New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some reports should be updated #56

Open
vomikan opened this Issue Jan 17, 2019 · 4 comments

Comments

Projects
None yet
2 participants
@vomikan

This comment has been minimized.

Copy link
Contributor Author

vomikan commented Jan 26, 2019

For simple update I suggest to add with CURRENCYFORMATS_V1 as

with CURRENCYFORMATS_V1 as (with h as (select  CURRENCYID 
        , max(CURRVALUE) CURRVALUE from CURRENCYHISTORY 
        where  CURRDATE<= date('now')
        group by CURRENCYID)
select c.CURRENCYID, c.CURRENCYNAME, c.PFX_SYMBOL, c.SFX_SYMBOL
    , DECIMAL_POINT, GROUP_SEPARATOR, SCALE, CURRENCY_SYMBOL
    , CURRENCY_TYPE, HISTORIC
         , ifnull(h.CURRVALUE, 1) BASECONVRATE
        from CURRENCYFORMATS c
        left join h on h.CURRENCYID=c.CURRENCYID)
select * from CURRENCYFORMATS_V1
@vomikan

This comment has been minimized.

@valsamis-d

This comment has been minimized.

Copy link

valsamis-d commented Jan 27, 2019

Thank you vomikan!

The issue, though, after upgrading to Alpha_6 is that my graphs won't show up. I fixed my queries in order to follow the revised schema, data are being returned in a tabular format but the graph above the report is not being drawn.

Dimitrios

@vomikan

This comment has been minimized.

Copy link
Contributor Author

vomikan commented Jan 27, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment