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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Aggregating across dimensions with multiple criteria

Please see attached. In cells EA, EB and EC, the correct denominator is shown in red. the denominator should be the number of accounts at age= 0 but for only those vintages that are active at a given age.

26 Replies
Not applicable
Author

Thanks John. stalwar1‌ is the man!

sunny_talwar

If nothing is selected, this is what I see.

Capture.PNG

Is this right?

Would you be able to add another category so that we can work on that?

Not applicable
Author

can't tell. Can you try selecting only vintages from 2001 onwards. That should give a declining curve, and then a spike and then again a consistent decline.

sunny_talwar

Here you go

Capture.PNG

I did attach the sample for your review. Attaching it again

Not applicable
Author

stalwar1‌ can you see this file with added category? I can't tell whether the chart is showing the right values until I test it in SAS. Doing it now.

sunny_talwar

Can you repost the above document after adding the new field I proposed?

LOAD date(date#(file_date, 'DDMMMYYYY'),'MMM-YYYY') as file_Date,

    AutoNumber(age, vintage_YYYYMM)-1 as Sort,

    filedate_YYYYMM,

      age,

      vintage_YYYYMM,

  tot_active_accts,

    ECR_flag

FROM

(txt, codepage is 1252, embedded labels, delimiter is ',', msq)

where depcat3='IBC_PE';

Not applicable
Author

stalwar1‌ Please see attached. Thanks for all your help.

sunny_talwar

May be this?

Sum(tot_active_accts)/Sum(Aggr(Above(Sum(tot_active_accts), Sort), (depcat3, (TEXT)), (vintage_YYYYMM, (NUMERIC)), (age, (NUMERIC))))

Capture.PNG

Not applicable
Author

Almooostt! Why is it not showing anything now when I select just one vintage, like the chart below it which has vintage in the dimension?

Can't thank you enough.

Example4.png

sunny_talwar

I am seeing this when I select 191001

Capture.PNG