Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello folks,
I am trying to display bottom 4 names using set analysis(expression) but i have more than 4 names with the same value.It display all the names with the same value.
I am attaching the application.
I need 2 outputs:
For Eg:1)Just show 4 names from the names having value 100.
and
2)Show only one name from the similar ones and other 3 from the rest i.e 100,200,300 & 400.
Thanks & Regards
thanks for your reply but it's not working.
anyone plzzz help.
=If(Aggr(Rank(-Sum(value)),COUNTRY_NAME_EN)<=4,COUNTRY_NAME_EN)
try to use this as ur dimension,replace Country and Value as ur dimension and measure
and measure sum(value)
Thanks but i want to do it using expression only.The expression you've suggested doesnt work.
hii channa,
i have tried in dimension as well but its not working u can check your own expression in the given qvf.
and i need to do that in expression only please try something else.
Thanks in advance.
=If(Aggr(Rank(-Sum(Sales)),Name)<=4,Name)
try hear for dense_rank
https://community.qlik.com/t5/QlikView-App-Development/Dense-Rank/td-p/290273