Forum Discussion
Totals Calculations using a % - a real problem
- 4 years ago
Hi,
Try this measure
Measure = SUMX(VALUES(Pipelime_MFMA[Project]),[Year 1 Adjusted by Probability])
Hope this helps.
Hi Otto_Luvpuppy ,
Currently you cannot use Field parameters to change your table dynamicaly, only option would be to do SUMX for each of the values in the field parameters.
Thank you for your reply. That's clear. However I do have a related question and would be great if you can help. I have measure generated using formula (1-B) * A. The values appear right in Measure and I show them as % of column total using power bi functionality to show calc as % of column total in visualization pane.
However I want to achive same thing using measure. so I want a measure in DAX to show me same resultset as % of column total and could you please help. Result is measure value / grand total column of column, so 345,5/463,7 = 74,5%
- MFelix2 years ago
Super User
Hi askpbiuser
Try the following code:
% Total = DIVIDE([Measure], CALCULATE([Measure], ALLSELECTED(Table[Cust]))