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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Super User
Super User

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors