Forum Discussion
twister8889
5 years agoHelper V
Wrong Total line table
Hi guys, I don't understand how to change the total of the values in my table. It's possible to show values by Type? In this case, the total values will be 10 (When I select the one Product or o...
- 5 years ago
twister8889 Just change your measure to this:
Value = IF( HASONEVALUE([Product]), sum([Values]), SUMX(SUMMARIZE('Table',[Product],[Category],[Type],[Month],"Sum",SUM([Values]),[Sum]) )Sorry, posted the wrong thing earlier, I edited it.
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
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
amitchandak
5 years agoSuper User
twister8889 , it can be 20 by the logic you are telling, Logic for grand total 10 ?
sumx(summarize(Table, Table[Type], "_1", max(Table[Value])),[_1])