cancel
Showing results for
Did you mean:
Frequent Visitor

## 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%)

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:

1 ACCEPTED SOLUTION
Super User

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!

4 REPLIES 4
Super User

Can you please share the sample data and dax of the measure that you are referencing.

Proud to be a Super User!

Frequent Visitor

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:

Super User

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!

Frequent Visitor

Yes this worked, thank you very much!

Announcements

#### Launching new user group features

Learn how to create your own user groups today!