Forum Discussion
Anonymous
5 years agoNot applicable
Stacked column graph not showing accurate % tooltip when sorted
I have a stacked column graph with a tooltip that shows the % of the value compared to the total. This is created by a measure. In the graph you can see that the proportion of the pink is 0.78 (78%) ...
- 5 years ago
Try update formula
% MEASURE 2 = DIVIDE(SUM('table1[Assign 1 to each number for count]), CALCULATE(SUM(‘table1'[Assign 1 to each number for count]),ALL(‘table1’)),0)
FarhanAhmed
Community Champion
5 years agoCan you please share the sample data and dax of the measure that you are referencing.
Anonymous
5 years agoNot applicable
Sure.
Below is the sample data:
The measure for % calculation for tooltip:
% MEASURE 2 =
DIVIDE(SUM('table1[Assign 1 to each number for count]),
CALCULATE(SUM(‘table1'[Assign 1 to each number for count]),ALL(‘table1’[overalloutcome 2])),0)
The table I created to order the graph:
- FarhanAhmed5 years ago
Community Champion
Try update formula
% MEASURE 2 = DIVIDE(SUM('table1[Assign 1 to each number for count]), CALCULATE(SUM(‘table1'[Assign 1 to each number for count]),ALL(‘table1’)),0)- Anonymous5 years agoNot applicable
Yes this worked, thank you very much!