Forum Discussion
RANKX Help
- 9 years ago
Since you always want to include that specific person in "the four", you need to exclude that person in the dataset and rank the top 3 first, then UNION that person together.
Regards,
According to your description, you actually want to filter out top 3 performer and 1 specific Person, RANK all 4 people. Right?
In this scenario, you can use TOPN() function to create a calculated table with the 3 best performers. Then use "Union Query" in Query Editor to combine a dataset with that specific person record only. Now you can create a calculated column to RANK all 4 people.
Regards,
Hi v-sihou-msft,
Thanks for your response.
I already have the specific person within the data set. Do I still need to follow the process you recommended or can I just use the TOPN() function?
Thanks,
- v-sihou-msft9 years agoMicrosoft Employee
Since you always want to include that specific person in "the four", you need to exclude that person in the dataset and rank the top 3 first, then UNION that person together.
Regards,