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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis Query

Greetings All,

Can anyone please tell me how to write this query to find the top customers by using rank():

IF(Picking = 'Yes', COUNT(customer)/TotalOrder, COUNT(customer)/TotalOrder).

Many Tx!

3 Replies
MayilVahanan

HI

     Try like this,

    

     =Count({<Picking = {'Yes'} >} Customer) / TotalOrder

     Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

Try like:

Count({Picking={'Yes'}>} customer)/TotalOrder

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

First of all in your expression is if condition is needed?Both if and else part are same.

Can you explain little more breifer?