Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Top N - percent of total

Hi everyone,

I have a few pie charts that show tickets that are breached by other teams. I was asked by leadership to show only the top 5 groups that breach tickets. 


The legend for my pie chart shows Breached Groups (e.g. Helpdesk, Procurement, etc) and the values of the pie chart has a Whole Number count of all of this tickets that are breached (this is from the count column in my dataset). I use Top N for the Breached Groups filter and I get the percent the 5 groups, I need the top 5 groups of the entire data set. Any ideas on how to achieve this?

Super User
Super User

@mehlenbae2 , check if custom label can help

Custom label
Dynamic Label


You have to create a % of the Total measure for label

Divide( calculate([measure],topn(10, allselected('Fact Jobs'[job_name]) ,[measure], desc)),calculate([measure],allselected()))



or try with TOPN with Others

Power BI- TOPN with Others-

!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

Helpful resources

May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors