Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I have created a sample data where there are five employees along with their salaries, I have a small requirement whether we can find a selected employee is in top three based on salaries or not, for that I have a text box which should show "<name> is in top three " or
"<name> not in top three".
And also "is it possible to display the rank of the selected employee by salary in text box".
Thanks
Kiran Kumar
Hi Kiran,
see attachment
Hi Antonio,
Thanks for your immediate response but there is another text in which I want whether a selected employee comes under top three based on salary or not. The id is TX02
Thanks
Kiran Kumar
Please find the attached.
Is it what you are looking for?
Thanks Kush,
There is one more way I achieved it , check if there is any mistake.
=if(getfieldselections(Emp)>0,if(aggr(Rank(Sum({1}[Salary])),Emp)<=3,Emp &' is in top three ',Emp &' is not in top three'),'Select an Employee')
Thanks
Kiran Kumar
Yes, you are correct. But then your Top 3 exclude all other selections and your Top 3 will not be dynamic.