Forum Discussion
CourtneyB
8 years agoFrequent Visitor
RANKX Help!
Hi Everyone, I am hoping someone can help me becausebecause this RANKX is really giving me a run for my money. I am fairly new to Power Bi and have been teaching myself as I go and I have hit a w...
- 8 years ago
Hi All,
So, my boss was able to figure it out. the correct formula to use for my case is the following:
Rank = RANKX(ALLSELECTED('2821_410_700_150'[CompanyName]), CALCULATE(AVERAGE('2821_410_700_150'[TT100150_CD])),,ASC,Dense)-1
Thank you for all your imput and assistance.
Zubair_Muhammad
8 years agoCommunity Champion
HI CourtneyB
Give this a shot
Rank =
RANKX (
ALL ( '2821_410_700_150'[State], '2821_410_700_150'[CompanyName] ),
AVERAGE ( '2821_410_700_150'[TT100150_BD] )
)CourtneyB
8 years agoFrequent Visitor
Hi All,
So, my boss was able to figure it out. the correct formula to use for my case is the following:
Rank = RANKX(ALLSELECTED('2821_410_700_150'[CompanyName]), CALCULATE(AVERAGE('2821_410_700_150'[TT100150_CD])),,ASC,Dense)-1
Thank you for all your imput and assistance.