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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
menglaro78
Microsoft Employee
Microsoft Employee

TOP N RANK EXCLUSIVE

Hi All,

i have this situation,

For each team I would like to score the top 3 players.

 

MEXICO TEAM ISSUE:

 

In this case 2 players have same results Ancer -1 and Morikawa -1, sono for top n filter both are considered.

I would like a measure that considers only 1.

 

Correct result for Mexico total would like -8

 

This is the measure that i use in a table.

 

FilterTop3ByCat_Filter =
VAR Top3Cat =
CALCULATETABLE (
GENERATE (
VALUES ( TEAMS[Team] ),
TOPN (
3,
CALCULATETABLE ( VALUES ( TEAMS[Player]) ),
[Par]*-1, DESC
)
),
ALLSELECTED()
)
RETURN
CALCULATE (
1 * ( NOT ISEMPTY ( TEAMS ) ),
KEEPFILTERS ( Top3Cat )
)

Any Ideas ?

 

golf.PNG

 

Thank U 

Marco

1 ACCEPTED SOLUTION
2 REPLIES 2

Many thanks,

good Idea, I solved, using as measure in topn calculated, points + rand ().

 

Marco

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.