Forum Discussion
Ranking Data
- 4 years ago
Hi,
Please check the below picture and the attached pbix file.
Number of solves: = SUM ( Data[Number Of Solves] )Ranking per Month and per Team: = VAR employeetable = ALLEXCEPT ( Data, 'Calendar'[Month], Team[Team] ) RETURN IF ( HASONEVALUE ( Employee[Employee] ) && NOT ISBLANK ( [Number of solves:] ), RANKX ( employeetable, [Number of solves:],, DESC ) ) - 4 years ago
Hi,
In your example:
"ALLEXCEPT ( Data, 'Calendar'[Month], Team[Team] )"
I don't have a table named "data". All the tales are joined using a relationship.
Do I need to look at Crossjoin in order to get this to work?
Thanks,
Hi,
Thank you for your message.
Please correct me if I missed something from your question, but is it separated by month? or by team? How many separared tables do you have?
If it is OK with you, could you please show how the each table looks like?
Thank you.
Hi again, thank you for your time so far.
I guess what I'm asking for is what you've done so far but as a measure. If that is even possible.
DimCalendar[Month]
Company[Team]/Company[Emplyee]
Data[Number of Solves]
Each of the table have a relatopship between them.
Hope this makes sense.
- Jihwan_Kim4 years agoSuper User
Hi,
Please check the below picture and the attached pbix file.
Number of solves: = SUM ( Data[Number Of Solves] )Ranking per Month and per Team: = VAR employeetable = ALLEXCEPT ( Data, 'Calendar'[Month], Team[Team] ) RETURN IF ( HASONEVALUE ( Employee[Employee] ) && NOT ISBLANK ( [Number of solves:] ), RANKX ( employeetable, [Number of solves:],, DESC ) )