Forum Discussion
Measure Total Issue
- 2 years ago
Anonymous
re = var ds= ADDCOLUMNS( SUMMARIZE( FactMoisture, DimDate[Date], DimLine[Line], FactMoisture[Moisture %]), "X", FactWeight[Weight_With_Moisture]*(1-DIVIDE(FactMoisture[Moisture %],100)) ) return SUMX(ds,[X])let me know if it works for you .
If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution ✅
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠
Hi Daniel29195
Thank you for your quick reply. I tried your suggestion, but it is showing me a total of 170 instead of 84.
Also in your measure you mentioned :
,
FactWeight[Weight_With_Moisture]I could not write this in my measure.
Corrected Measure =
Could you again help me? 🙂
Anonymous
are you able to sharethe power bi file ?
you can upload to google drive, dropbox and share a link.
NB:
the measure that i ve wrote , is the logic of how it should be done.
since i dont have an idea of the data that you have how it is spreaded.
- Anonymous2 years agoNot applicable
- Daniel291952 years agoCommunity Champion
Anonymous
re = var ds= ADDCOLUMNS( SUMMARIZE( FactMoisture, DimDate[Date], DimLine[Line], FactMoisture[Moisture %]), "X", FactWeight[Weight_With_Moisture]*(1-DIVIDE(FactMoisture[Moisture %],100)) ) return SUMX(ds,[X])let me know if it works for you .
If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution ✅
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠- Anonymous2 years agoNot applicable
Hello Daniel29195 ,
Thank you, it worked 🙂