Forum Discussion
RankX with Multiples values problem
- 6 years ago
Please ignore the previous post. Following are the required measures:
Rank Answered Asc = IF( HASONEVALUE(Sheet1[Name]), RANKX( ALLSELECTED(Sheet1[Name]), [Avg Answered Time],,ASC ) ) Rank Answered Asc Skip = IF( HASONEVALUE(Sheet1[Name]), RANKX( ALLSELECTED(Sheet1[Name]), [Avg Answered Time],,ASC,Dense ) ) Rank Answered Desc = IF( HASONEVALUE(Sheet1[Name]), RANKX( ALLSELECTED(Sheet1[Name]), [Avg Answered Time],,DESC ) ) Rank Answered Desc Skip = IF( HASONEVALUE(Sheet1[Name]), RANKX( ALLSELECTED(Sheet1[Name]), [Avg Answered Time],,DESC,Skip ) )It is ranking as accuretly
Cheers!
Vivek
If it helps, please mark it as a solution. Kudos would be a cherry on the top 🙂
If it doesn't, then please share a sample data along with the expected results (preferably an excel file and not an image)
Blog: vivran.in/my-blog
Connect on LinkedIn
Follow on Twitter
Appreciated your respoonse but the rank isn't correct based on the average every person as you see in your image some values haven't the right top position i've tried by myself and has the same results, is in fact an error that i have before i developed the posted formulas.
Any idea how to solve this?
Please ignore the previous post. Following are the required measures:
Rank Answered Asc =
IF(
HASONEVALUE(Sheet1[Name]),
RANKX(
ALLSELECTED(Sheet1[Name]),
[Avg Answered Time],,ASC
)
)
Rank Answered Asc Skip =
IF(
HASONEVALUE(Sheet1[Name]),
RANKX(
ALLSELECTED(Sheet1[Name]),
[Avg Answered Time],,ASC,Dense
)
)
Rank Answered Desc =
IF(
HASONEVALUE(Sheet1[Name]),
RANKX(
ALLSELECTED(Sheet1[Name]),
[Avg Answered Time],,DESC
)
)
Rank Answered Desc Skip =
IF(
HASONEVALUE(Sheet1[Name]),
RANKX(
ALLSELECTED(Sheet1[Name]),
[Avg Answered Time],,DESC,Skip
)
)
It is ranking as accuretly
Cheers!
Vivek
If it helps, please mark it as a solution. Kudos would be a cherry on the top 🙂
If it doesn't, then please share a sample data along with the expected results (preferably an excel file and not an image)
Blog: vivran.in/my-blog
Connect on LinkedIn
Follow on Twitter