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
menglaro78
Employee
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

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