Forum Discussion
Anonymous
6 years agoNot applicable
Wrong Totals
Hi guys, I am trying to create my own forecast because it is based on a planning. To do this I have a few measures and some data to go with it. Measure to determine the price of the hours in...
Greg_Deckler
Community Champion
6 years agoThis 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
- Anonymous6 years agoNot applicable
Hi Greg_Deckler ,
I have been trying your solution, but I am not sure how to continue.
I made this measure:
MyMeasure2 =VAR __table = SUMMARIZE(TimeTransactions;[Project];"__value"; [GuideLine])ReturnIF(HASONEVALUE(TimeTransactions[Project]); [GuideLine];SUMX(__table; [__value]))But it gives me even weirder valuesCan you help me?Best regards,Queenie- Greg_Deckler6 years ago
Community Champion
Try this:
MyMeasure2 = VAR __table = SUMMARIZE(TimeTransactions;[Maand];"__value"; [GuideLine]) Return IF(HASONEVALUE(TimeTransactions[Project]); [GuideLine];SUMX(__table; [__value]))You should summarize by whatever you are summarizing by in your table visualization (it looks like "Maand"). The value (__value) should be the measure you want to aggregate correctly in the total line.