Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Ranking

Hello All,

I have an issue where i have to generate rank for the below expression

= sum({<$(vClntNum)=>}Rev)-(fabs(sum({<$(vClntNum)=,ActivityType={'Revenue'}>}Expense))+sum({<$(vClntNum) = ,MasterActivityType={'Expense','ContentServices','Support'}>}Expense)))         

   

i tried someting like below and it is not working.

 

=aggr(rank((sum({<$(vClntNum)=>}Net)-(fabs(sum({<$(vClntNum)=,MasterActivityType={'Revenue'}>}Expense))+

sum({<$(vClntNum) = ,MasterActivityType={'Expense','ContentServices','Support'}>}Expense))),4),$(vClntNum))),4)$(vClntNum)

Thanks for the help.

P

0 Replies