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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Total of different month no adding up correctly

Hi,

 

I have a table made up of calculated measure. When I filter in months, the total is not adding up. My first guess is that the total is correct without month filter. But when you filter both months (January and February), the different amount does not add up to what in the total is without filter. see picture. 

I have spend much time trying to fix it but without any success. Can anyone help me with this 

1.jpg2.jpg3.jpg

 
1 ACCEPTED SOLUTION
v-gizhi-msft
Community Support
Community Support

Hi,

 

Please try this measure:

New Measure = SUMX(DISTINCT('DATE'[MonthName]),origin measure formula)
Hope this helps.
 
Best Regards,
Giotto Zhi

View solution in original post

2 REPLIES 2
v-gizhi-msft
Community Support
Community Support

Hi,

 

Please try this measure:

New Measure = SUMX(DISTINCT('DATE'[MonthName]),origin measure formula)
Hope this helps.
 
Best Regards,
Giotto Zhi
vanessafvg
Super User
Super User

@Anonymous  what is the code for your total?  or is it just the sum of that fields.  Also what exactly are you trying to achieve, pleave provide a more indepth description it is hard to understand what you are asking for exactly by providing what you are expecting to see.  Also sharing a bit of dummy data will help people to help you solve your problem more easily.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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