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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
almondmilk1
Regular Visitor

How to get the top 3 and bottom 3 projects for each team scale and display in a Cluster Map?

I have a table with 3 columns: Team Scale(1 to 4), Project, and Total Score. I want to display a Cluster Map for each Team Scale with the top 3 and bottom 3 projects. Can someone help me with detailed steps or share the pbix with me? I tried out using different formulae but didn't get what was expected.
1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @almondmilk1 

 

You can try the following methods.
Column:

Rank1 = RANKX(FILTER('Table',[Team Scale]=EARLIER('Table'[Team Scale])),[Total Score],,DESC)
Rank2 = RANKX(FILTER('Table',[Team Scale]=EARLIER('Table'[Team Scale])),[Total Score],,ASC)

vzhangti_0-1679019979725.png

Measure:

Top3 = IF(MAX('Table'[Rank1])<=3,1)

vzhangti_1-1679020105552.png

Bottom3 = IF(MAX('Table'[Rank2])<=3,1,0)

vzhangti_2-1679020215800.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

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-zhangti
Community Support
Community Support

Hi, @almondmilk1 

 

You can try the following methods.
Column:

Rank1 = RANKX(FILTER('Table',[Team Scale]=EARLIER('Table'[Team Scale])),[Total Score],,DESC)
Rank2 = RANKX(FILTER('Table',[Team Scale]=EARLIER('Table'[Team Scale])),[Total Score],,ASC)

vzhangti_0-1679019979725.png

Measure:

Top3 = IF(MAX('Table'[Rank1])<=3,1)

vzhangti_1-1679020105552.png

Bottom3 = IF(MAX('Table'[Rank2])<=3,1,0)

vzhangti_2-1679020215800.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

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

Thank you so much @v-zhangti! This is exactly what I wanted.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors