Reply
avatar user
Anonymous
Not applicable

Total is less than the actual sum

Hi all!

My ultimate goal is to make a card showing a MTD average. I made a formula but it shows a value that is too low. The formula works well in countless other reports. 

 

 

Yield MP Recycling % MTD Avg = if ( EOMONTH(max('Date'[Date]),0)=EOMONTH(today(),0),
(   TOTALMTD([Yield MP Recycling %],DATEADD(DATEADD('Date'[Date],0,Month),-1,Day))/day(today()-1)   ),

(   TOTALMTD([Yield MP Recycling %],DATEADD(DATEADD('Date'[Date],0,Month),0,Day))/ day(EOMONTH(max('Date'[Date]),0))   
))

 

 

I digged deeper and found that the problem came from "Yield MP Recycling %". When I use this measure in a table and I use a month filter I can clearly see that the total is lower than the addition of the indiviual cells. When I use a card this is the total that the card is pulling which leads to the mistake.

 

Yield MP Recycling % = ([Actual Produced Quantity in Weight for Dry Cleaned]+[Actual Produced Quantity Input_Output for MobilzaunfussAnlage 1]+[Actual Produced Quantity in Weight for Washing 1])/([Actual Raw Material Qty In KG for Shredder])

2019-02-18 14_17_11-Genthin Report v2.0 - Power BI Desktop.png

 

How can I correct this problem?

 

I read @Greg_Deckler  thread on the topic but I believe that this is a different issue.

 

Thank you very much for the help!

 

Warm regards,

Alain

1 REPLY 1
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous ,

Could you please offer a sample data to have a test if possible?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)