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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Rank to be given

I have this data how can I provide them rank.

 

Store NameSUM(CALLS_SUM)
AD        12,741
ADM       14,507
AE        990
AEDU      201
AEM       4,395
AEMD      2,297
AF        36
AFME      2
AFMO      13
AFMW      9
AG        5
AGM       33
AGMD      23
AIMD      3
AIMF      2
AK        35
AL        82
ALMA      218
ALME      56
ALMV      854
AM        10
AMGG      1
AMGU      2
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks... finally able to figure it myself... used this

 

Rank = rankx(ALLSELECTED(Sheet2[PRICE_NAME]),CALCULATE(sum(Sheet2[SUM(CALLS_SUM)])),,desc,dense)

View solution in original post

2 REPLIES 2
danielkrol
Helper II
Helper II

Wow, Thats a bit descriptive...

Might be something like this?

 

RANK =
VAR _call_sum = Blad1[SUM(CALLS_SUM)]
return
CALCULATE(COUNT(Blad1[Store Name])+1, FILTER(ALL(Blad1), Blad1[SUM(CALLS_SUM)] > _call_sum))
 
Anonymous
Not applicable

Thanks... finally able to figure it myself... used this

 

Rank = rankx(ALLSELECTED(Sheet2[PRICE_NAME]),CALCULATE(sum(Sheet2[SUM(CALLS_SUM)])),,desc,dense)

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.