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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
linoyel
Specialist
Specialist

Aggr and Set analysis

Hey,

I have the following expression in the table:

Sum (if(cctranzresponse=000,Sum,0)) / Sum(aggr(Max(First_Try_Amount),unique_num,Department,UpType,IsOnline))

Now I need to write the same expression but for the certain bookmark and country.

I tried this:

Sum ({AppRate * 1<BillingCountryKey = {191}>} if(cctranzresponse=000,Sum,0)) /

Sum({AppRate * 1<BillingCountryKey = {191}>} aggr(Max(First_Try_Amount),unique_num,Department,UpType,IsOnline))

This works only when BillingCountry 191 is selected, but I want the expression not to be dependent on user selections...

Labels (1)
10 Replies
MK_QSL
MVP
MVP

Binary upload is when you want to use one qvw file in another qvw apps