Forum Discussion
Anonymous
8 years agoNot applicable
Incorrect total using measure
Hi, I am struggling with calculating the correct measure total, because Power BI applies the measure on the totals line instead of summarizing the result per line. I do not get any values if I us...
- 8 years ago
Hi Anonymous,
Please try this formula as a measure:
Measure = SUMX(VALUES('Table'[DateTime]),[Value A]*[Price A])Hope it helps...
Ninter
- 8 years ago
Hi,
Try this measure
Cost A = SUMX(SUMMARIZE(VALUES('Table'[DateTime]),[DateTime],"ABCD",[Price A]*[Value A]),[ABCD])
Hope this helps.
- 8 years ago
Hi,
If my reply helped, please mark it as Answer.
TomMartens
8 years agoSuper User
Hey,
I'm wondering if this would solve your problem:
Tot cost A [EUR] =
SUMX(
'name of your table'
,[Volume A [MWh]]*[Price A [EUR/MWh]]
)Regards,
Tom