Forum Discussion
MrMP
6 years agoHelper III
Measure totals incorect using IF
Hello everyone, I saw this issue many times, but I just cant seem to fix it. I am working with sales data (Product hierarchy, customers, Locations etc). Currently model has 2 calendars. One a...
- 6 years ago
Hi MrMP
You might try something like :
CALCBF_New = VAR _table = SUMMARIZE ( Table1, Table1[column], "_Value", [measure] ) RETURN IF ( HASONEVALUE ( Table1[column] ), [measure], SUMX ( _table, [_Value] ) )
Greg_Deckler
6 years agoCommunity Champion
MrMP 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