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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
mmadiganjr
Frequent Visitor

need help with ranking

Hello, trying to rank each persons "Player Name" highest value of "Maximum Velocity".  I've been successful showing a rank but it's including every single max velocity value and not just their best, and I just want it to rank each persons best against each other. The data set is very large so I provided an example below and would like the final ranking to look like this:

 

Ath 4 - 17.05 - Rank 1

Ath 5 - 15.4 - Rank 2

Ath 2 - 14.53 - Rank 3

Ath 1 - 14.04 - Rank 4

Ath 3 - 13.76 - Rank 5

 

Player NameActivity NameDateMaximum Velocity
Ath 1WLAX Practice 11-3-2311/3/202314.04
Ath 2WLAX Practice 11-3-2311/3/202313.69
Ath 3WLAX Practice 11-3-2311/3/202313.37
Ath 4WLAX Practice 11-3-2311/3/202317.05
Ath 5WLAX Practice 11-3-2311/3/202315.4
Ath 1WLAX Practice 11-6-2311/6/202312.79
Ath 1WLAX Practice 11-6-2311/6/20239.53
Ath 2WLAX Practice 11-6-2311/6/202314.53
Ath 2WLAX Practice 11-6-2311/6/202311.16
Ath 2WLAX Practice 11-6-2311/6/202310.91
Ath 3WLAX Practice 11-6-2311/6/202313.76
Ath 3WLAX Practice 11-6-2311/6/20239.97
Ath 4WLAX Practice 11-6-2311/6/202311.38
Ath 5WLAX Practice 11-6-2311/6/202310.49
1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

Create 2 measures:

M1 = MAX(TableT[Maximum Velocity])

M2 = RANKX( ALL( TableT[Player Name]) ,  [M1])

Put them in a table with Player Name

View solution in original post

2 REPLIES 2
HotChilli
Super User
Super User

Create 2 measures:

M1 = MAX(TableT[Maximum Velocity])

M2 = RANKX( ALL( TableT[Player Name]) ,  [M1])

Put them in a table with Player Name

Elcin_7
Frequent Visitor

I think to achive what you want you need to use Matrix visual. Raw will be athlet and value will be velocity.

 

RANKX(ALLSELECTED(table(athlet name), Tablename(Max velocity),Tablename(Max velocity),DECS,Dense))

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.