Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hello,
i have a filter pane with the employees name,
and a table with their sales transaction figures.
im trying to show the top 5 sales figure for each employee. so whenever i select an employee, the table should show the top 5 sales figures.
i tried using Sum({<Sales= {"=Rank(Sales) <=5"}>}Sales), but it only returns one result
attached is my sample.
thank you.
Hi
Try this
=if((GetSelectedCount(Zipcode))=1,if(Rank(Price)<=5,Zipcode),Zipcode)
Hope this helps
Thanks
Hi
please go thru the attached QVF
hope this helps
thanks
Hi Kashyap,
your solution works great!
however, when i apply your solution to my current project, i dont understand why it couldnt work.
ive attached an edited project of mine for your reference.
im trying to show the top 5 prices for each zip code.
thank you so much!
Hi
Try this some function works for some scenarios
Hope this helps
Thanks
Any other ways ?
ive tried
IF(COUNT(GetCurrentSelections(Zipcode))=1,
if(Rank(Price)<=5,Zipcode),Zipcode)
but the results only rank the price from the highest to the lowest, but did not filter the results to top 5.
Hi
Try this
=if((GetSelectedCount(Zipcode))=1,if(Rank(Price)<=5,Zipcode),Zipcode)
Hope this helps
Thanks
You are the best 🙂