Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Pete230
Helper III
Helper III

Monthly column chart combines 3 different tables (1 x monthly values, 2 x daily values)

Hi together,

 

I would like to create a column chart showing the months of the current year with 3 valuetypes from 3 tables combined:

  1. column: Energy (monthly values) -> time stamp column (01.01.2023) for January
  2. column: Energy (daily values)       -> time stamp column (01.01.2023, 02.01.2023 ...) for January
  3. column: Energy Prognosis (daily values) -> time stamp column (01.01.2023, 02.01.2023 ...) for January

 

The graph could look like this and cosists out of the following rules:

Pete230_1-1681921948125.png

 

 

Starting point is the current date, e.g. 19.04.2023, the dax formula (or even possible in power querry?) shoul do the following:

 

  • all past months energy has to be taken from the 1. table (Energy monthly values), here it would be  Jan - March (marked in yellow in the screenshot)
  • The current month (april) should use all energy values until today (table 2, daily energy values) (marked in red in the screenshot) and filled up by the prognosis values (table 3, energy prognosis daily data) (marked in blue in the screenshot)
  • The coming months should display just the sum of the daily energy prognosis values (table 3) (marked black in the screenshot)

Every day the sum should roll, take the real energy value of yesterday and take one day less of the prognosis values.

All the time stamp columns of the tables are connected with one calandar table, so mixing daily and monthly values works.

 

I hope the problem is described to be unterstood. Does anyone of you know how to do that either in dax, but preferably in power querry.

 

Cheers

Pete

 

 

0 REPLIES 0

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors