Forum Discussion
Difference Between ALL and VALUES direction
- 6 years ago
Modified your measure to this:
Phase1_GD_Ranking = IF ( HASONEVALUE ( Scores[Team] ), RANKX ( ALLSELECTED ( Scores[Group], Scores[Team] ), CALCULATE ( SUM ( Scores[Goal Differential] ) ), , DESC, SKIP ), BLANK () )
Is this your desired result?
It appears so! Just reversed, but that's probably an easy fix if you used rankx.
how?
I'm literally on the edge of my seat here. I've been banging my head against the wall for 3 days.
- AntrikshSharma6 years agoCommunity Champion
Modified your measure to this:
Phase1_GD_Ranking = IF ( HASONEVALUE ( Scores[Team] ), RANKX ( ALLSELECTED ( Scores[Group], Scores[Team] ), CALCULATE ( SUM ( Scores[Goal Differential] ) ), , DESC, SKIP ), BLANK () )- Anonymous6 years agoNot applicable
So i can work with this. Thank you so much!
But if i could indulge you for one more question.This result returns this for the whole table:
Which is expected. How can i make a similar but different expression so i get the 1-4's in the goal differential column on the full table. Basically just stack all those results on top of each other?
- AntrikshSharma6 years agoCommunity Champion
Can you please show what would the end result look like for the statement "How can i make a similar but different expression so i get the 1-4's in the goal differential column on the full table. Basically just stack all those results on top of each other?"