Forum Discussion
Remove a data value from a visual but keep the calculation
Hi
I am creating a report for a school and will be including one pie chart of all the different registration codes used. I need to inlcude a measure which adds us all the attendance marks (nameed 'All Marks'), if include this measure then all codes %'s are worked out on the chart. I know I could do this with measures for each code but seen as it is only for this is for one visual I wasnt sure if there was an easier way of including the 'All Marks' measure, but hiding it from the pie chart.
Is this possible?
Thanks for your time
Helen
3 Replies
- v-alq-msft
Community Support
Hi, hellyLoft
I am not very clear about your requirement I assume that you want to calculated the percentage for each code according to the visual interaction. I created data to reproduce your scenario.
Table:
You may create a measure as below.
Percentage = DIVIDE( SUM('Table'[Value]), CALCULATE( SUM('Table'[Value]), ALLSELECTED('Table') ) )Result:
If i misunderstand your thoughts, please show us some sample data and expected result with OneDrive for business. Thanks.
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- hellyLoftFrequent Visitor
Thank you for the reply. I will see if this works with what I was looking for.