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: 
Anonymous
Not applicable

Indirect set analysis

Hi,

This expression calculates Recovery 

SUM(PAY_AMOUNT) - Sum ({<PAY_DR_YEAR = P(SALES_DR_YAER)>}PAY_AMOUNT)

now i want to break down the resultant figure into it's actual year of recovery or even if possible previous months

I tried this for the year

SUM({$<Year = {'=$(=Max(Year)-1)'}>}PAY_AMOUNT) - Sum({$<Year={'=$(=Max(Year)-1)'},PAY_DR_YEAR = P(SALES_DR_YAER)>}PAY_AMOUNT)

but the results was'nt right.

Any Help?

3 Replies
MEllinghausen
Creator III
Creator III

Hallo,

try this one

SUM({$<Year = {"$(=Max(Year)-1)"}>}PAY_AMOUNT) - Sum({$<Year={'"$(=Max(Year)-1)"},PAY_DR_YEAR = P(SALES_DR_YAER)>}PAY_AMOUNT)

Marcus

Anonymous
Not applicable
Author

Hi Marcus

I noticed it returned the same value as the general recovery expression.That can't be possiblle

MEllinghausen
Creator III
Creator III

Have you clear your selections?  e.g. month??