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
mauroanelli
Helper I
Helper I

wrong grand total for a measure in table

hi all,

i have a table with this measure

 

H/Uomo x Costo H =SUMX('Dipendenti Costo/H';'Dipendenti Costo/H'[Costo H])*SUMX(Commesse_Folder;Commesse_Folder[H/Uomo])
 
but shows wrong grand total's value
how can i fix it?
 
regards
 
2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

 

If you just want to divide two columns, the SUMX() function should not be required.  Try this measure

 

Measure = SUM('Dipendenti Costo/H'[Costo H])/SUM(Commesse_Folder[H/Uomo])

 

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-lili6-msft
Community Support
Community Support

hi, @mauroanelli 

This looks like a measure totals problem. Very common.

You could refer to this post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907

 

Best Regards,

Lin

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

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.