Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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%)
I also created a new table to order the graph so that the pink portion is on the bottom. However, once it got sorted, the % tooltip now shows 100% instead of 78%. Can anyone assist with this? Thanks
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:
Solved! Go to Solution.
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)
Proud to be a Super User!
Can you please share the sample data and dax of the measure that you are referencing.
Proud to be a Super User!
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:
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)
Proud to be a Super User!
Yes this worked, thank you very much!
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
93 | |
89 | |
83 | |
75 | |
49 |
User | Count |
---|---|
142 | |
140 | |
110 | |
69 | |
55 |