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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
alecsonline
Helper I
Helper I

Total of the month not corresponding to the total of the values of the single days

Hi all!

 

I have 2 measures that are total of values from 2 different tables: "RMS DW" and "RMS cfd lettura"

No problems with them: correct values and totals....everything fine.

 

I created a new measure:

 

Measure = IF([RMS DW]=0;[RMS cfd lettura];[RMS DW])

 

My goal is: "If that are no values in RMS DW than take into consideration the "RMS cfd lettura" otherwise use the "RMS DW" values.

 

THE STRANGE THING: this measure gives correct values day by day, but the month total is not correct!!!! How is it possible?

 

Look at the table below: last column shows exactely what I want day by day, but you can see the total says "310" that is only the total of the first 5 rows!

 

 

 

Cattura.JPG

 

Any idea about what's wrong?

 

Thank you all, Alessandro.

 

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

1 REPLY 1
Greg_Deckler
Community Champion
Community Champion

This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.