Forum Discussion
Stu11
4 years agoFrequent Visitor
Ranking Data
Hi, I'm trying to add a rank to the below table in PBi. Each colum (Month,Team&Emplyee,Sumber of solves are in seperate tables) The rank would need to rank each employee by team by month. So e...
- 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,
Jihwan_Kim
4 years agoSuper User
Hi,
Please share your sample pbix file, and then I can try to have a look into it to come up with a more accurate solution.
Thanks.
Stu11
4 years agoFrequent Visitor
Hi,
I believe the issue is I don't have a table named "data" where all this data resides. My data is in 3 sperate tables (although they do have a relationship).
Thanks,
Stu