Im trying to replicate this report in Power BI
I found the raw data for free via Odata which is great as I can auto refresh
Data Source: http://eiaconnector.oilstat.com/odata/naturalgas
As I started creating the measures, I noticed they dont match with the report on the website ( 5 year average, yearly change, etc)
As I started looking at the report methodology, I noticed they are interpolaring the weekly values into daily to calculate those yearly and 5 year averages.
I started investigating if this is something I can do in Power Bi and found this amazing post
Kudos to Greg_Deckler
However when I try to apply it here, Im stuck because this report has different dimensions. I have weekly volumes by region that i need to calculate daiyly
Can I calculate the dayly values by interpolating by region if I cant relate the table?
Any help would be highly appreciated it
@reynags91 - Glad you liked that post. So, it seems that you are running into an issue because you need this to be dynamic (measure) and not calculated columns?
If you could maybe post some sample data and expected output that would be very helpful.
Also, I did another similar post here: https://community.powerbi.com/t5/Quick-Measures-Gallery/Mind-the-Gap-Irregular-Time-Series/m-p/99179...
I do not see why this kind of thing couldn't be done "on the fly", essentially constructing the interpolation table as a table variable in DAX but I'd have to understand exactly what your expectations are.
Thank you for your quick response, this is the sample data
and this is the pibx file
I guess my where I am confused is would I have to create a date table with each day of year repeating itself each occurence of the dimension to showcase daiyly volumes per region?
I try @Greg_Deckler
Maybe the way they are calculating it its different?
We are excited to announce the Power BI Super Users!
Overview of Power BI 2020 release wave 2!
Mark your calendars and join us for our next Power BI Dev Camp!.
100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.