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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Help with Set analysis expression

Hi Guys,

I have the following table:

TypeRCATAreaCityBUSINESS_DAYAC_R.H
InputILOASIADelhiBD12
OutputILOASIADelhiBD42
OutputPLOUKLondonBD43
OutputPLOUKLondonBD52
InputILOUKLondonBD66

And the following formula used in my expression.

=

if(rank(aggr(sum(max({<Date={$(vRM)},

Category={'$(vCP)'}>}

AC_R.H)),

RCAT)=1),

AC_R.H)

My aim is to aggregate the values and be able to drill down by all the different fields.

So headline figure should be 15. When filtering on to PLO (RCAT) the figure should output 5 (but i get 3). Asia = 4 (but i get 2). etc etc.

Would appreciate the help?

1 Reply
MK_QSL
MVP
MVP

You can simple use

=SUM({<Date={$(vRM)},Category={'$(vCP)'}>}AC_R.H)