Forum Discussion
percentage not adding up when selected multiple dates
- Anonymous3 years ago
Hi Anonymous ,
Please add [Percentage] measure into SUMX() expression instead of the measure code.
You new measure should calculate based on [Percentage] measure.
New Percentage = SUMX ( VALUES ( Date[date] ), [Percentage] )Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous , Create a measure like , Assuming we have common date table in this case
Sumx(Values(Date[date]), calculate(divide(Sum(Value1[total]), Sum(Value2[total]) )))
- Anonymous3 years agoNot applicable
hello i do have a relationship with the table and date table,
but it still didnt work for some reason- Anonymous3 years agoNot applicable
Hi Anonymous ,
Please add [Percentage] measure into SUMX() expression instead of the measure code.
You new measure should calculate based on [Percentage] measure.
New Percentage = SUMX ( VALUES ( Date[date] ), [Percentage] )Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous3 years agoNot applicable
it did ot work please check the other one https://community.powerbi.com/t5/DAX-Commands-and-Tips/Percentage-not-adding-up-when-selecting-mutliple-dates-on-slicer/td-p/2842283
this is my exact measure and calculation i want to use