Forum Discussion
Wrong Totals
Hi
I am a beginner in Power Bi and having a hard time getting my totals right.
Wrong column totals need to be corrected as I want to use this corrected total to multiply with an average cost
Data:
Measures:
Shipments Saved = DIVIDE([Volume],CALCULATE([Loadability volumetric],DATEADD(dDate[Date],-1,MONTH)),BLANK())Shipments Saved WRONG =
SUMX(
SUMMARIZE(dDate,dDate[Date],"_1",
DIVIDE([Volume],CALCULATE([Loadability volumetric],DATEADD(dDate[Date],
-1,MONTH)),BLANK()
)
),[_1]
)Volume = SUMX('Prototype Modeling_Freight', 'Prototype Modeling_Freight'[Sold Cases])Loadability volumetric = DIVIDE([Volume],[Shipments],BLANK())
Hi Anonymous ,
Can you provide me some sample data for testing? Your measure seems OK and I cant figure out where the problem is by your pic and measure .
Much appreciated.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!
3 Replies
- Greg_Deckler
Community Champion
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- AnonymousNot applicable
Hi Greg_Deckler
I have read your post before, but I struggle to get correct column values, as I have mentioned in the picture
- v-kelly-msft
Community Support
Hi Anonymous ,
Can you provide me some sample data for testing? Your measure seems OK and I cant figure out where the problem is by your pic and measure .
Much appreciated.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!