Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Anonymous
Not applicable

Top 15 records and to show others as one group in table chart

Hi,

I have requirement to show top 15 records and rest all other records to Show as Others,
I have one Employee ID's column and one  calculated colum- Total Efforts spent 


I have to show top 15 Employees with total efforts spent and rest all Other employees to show as "Others" in Table Chart.

Any help?

Thanks
Likhitha



Thanks

1 ACCEPTED SOLUTION
v-xinruzhu-msft
Community Support
Community Support

Hi @Anonymous 

You can refer to the following example

create a new column in the table

Type = var _top15=SUMMARIZE(TOPN(15,'Table',[Total],DESC),[ID])
return IF([ID] in _top15,FORMAT([ID],""),"Ohter")

Then put the column to the table  visual, and create a new measure in the table

 

Measure 2 = SUM('Table'[Total])

 

Output

vxinruzhumsft_0-1675660244987.png

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-xinruzhu-msft
Community Support
Community Support

Hi @Anonymous 

You can refer to the following example

create a new column in the table

Type = var _top15=SUMMARIZE(TOPN(15,'Table',[Total],DESC),[ID])
return IF([ID] in _top15,FORMAT([ID],""),"Ohter")

Then put the column to the table  visual, and create a new measure in the table

 

Measure 2 = SUM('Table'[Total])

 

Output

vxinruzhumsft_0-1675660244987.png

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

AlB
Community Champion
Community Champion

Hi @Anonymous 

Can you provides some sample data?

 

SU18_powerbi_badge

Please accept the solution when done and consider giving a thumbs up if posts are helpful. 

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

 

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.