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
iLikeAzureSQL
Helper I
Helper I

Treemap chart and top 10 clients

Hello friends,

I'm using treemap chart for client sales, but the chart is very busy with over 100 clients, is there anyway to limit the chart for only top10 clients?

 

Thanks in advance,

iLikeAzureSQL

1 ACCEPTED SOLUTION
iLikeAzureSQL
Helper I
Helper I

I end up using this meausre:

SalesRank = RANKX(all(Clients),sumx(RELATEDTABLE(OrderArchive),[Total Sale]))

 

View solution in original post

6 REPLIES 6
khalidwaleed
Frequent Visitor

@Sean Thanks for this solution, works like a charm.

Sripriya
Frequent Visitor

We can directly use Visual level filters 'Top N' for showing Top 10 clients based on their sales

 

iLikeAzureSQL
Helper I
Helper I

I end up using this meausre:

SalesRank = RANKX(all(Clients),sumx(RELATEDTABLE(OrderArchive),[Total Sale]))

 

Sean
Community Champion
Community Champion

@iLikeAzureSQL Create a Ranking Measure. Something like this...

 

Sales Rank = RANKX ( ALL ( Table[Client] ), CALCULATE ( SUM ( Table[Sales] ) ) )

Then drag this Measure to the Visual Level Filter => select is less than or equal to 10 => Apply Filter

Thanks Sean. 

Thanks Sean. 

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.