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
Anonymous
Not applicable

RANKX with Measure in blows up table visual

Hi Folks ,

I have a data model as follows:

YSiuYee_0-1592985454565.png

 

I would like to create a Rankx measure to rank based on [NewSort2] and the 'StationUtilTable'[Average Station Util] . When i included the measure it  blows up the table visual like so:

 

YSiuYee_0-1592986478986.png

 

I know i am getting the row context wrong, my Ranking measure is as follows:

MultipleRanking =
var var1=ALLSELECTED(EquipUtilTable)
return RANKX(var1,
                     RANKX(var1,CALCULATE([NewSort2]),,DESC,Dense)
                        + DIVIDE(RANKX(var1,CALCULATE(MIN(StationUtilTable[StationUtil])),,DESC,Dense),COUNTROWS(var1)+1)
 
                             ,,,Dense)
 
 
What have i done wrong and how to correct it? The Pbi link is here for your reference
Thanks in advance!
1 REPLY 1
amitchandak
Super User
Super User

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.