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

Struggling with Set Analysis

Hello,

I am struggling with something and would need help.

I have a table with shows PLAN and ACTUAL SALES for Financial Year 2014.(which starts from Sept 2013)

Now when I click on year it sums sales (i.e. 😎 and sums plan (i.e. 43) .... but I want to find a way so that it sums plan only for the month where we have a sales numbers i.e. it should only sum plan = 2+3+4+3 ....

Not sure how to find out the month which have actual sales.

Month '14Plan($) ' 14Actual Sales($) '14
Sep22
Oct33
Nov42
Dec31
Jan2
Feb3
Mar4
Apr5
May6
Jun4
Jul3
Aug4
Total438

thanks in advance

H

11 Replies
Not applicable
Author

Manish,

Can we somehow replace >0 by isnotnull or something?

As sales can be -ve

MK_QSL
MVP
MVP

Haven't tried but may be something like below...

=IF(AGGR(SUM([Sales Actual]),Month)>0 and Not ISNULL(AGGR(SUM([Sales Actual]),Month)),Month)