Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
gauthamchilled
Creator
Creator

SumIF To Set Analysis Help

Hi,

 

Need a help in converting a sumif to set analysis. Below is the expression.

=sum(if([Trans Date] <= $(vAgeDate)
and $(vAgeDate) -[$(vBasis)] > vAge2
,[Sales]
))

where
Trans date is transactiondate
vAgeDate is AgeDate
vBasis is InvoiceDae
Vage2= 90

 

Can any body help?

Labels (1)
4 Replies
gauthamchilled
Creator
Creator
Author

bump

tresesco
MVP
MVP

I assume, AgeDate and InvoiceDate are field. If so, I don't get how are they different from the variables. Are you using any aggregation function in the variable definitions? Could you explain with a sample ?

gauthamchilled
Creator
Creator
Author

Hi,

 

vAgeDate is max(AgeDate) but vBasis is just InvoiceDate field

 

tresesco
MVP
MVP

InvoiceDate has multiple dates? Are you expecting to select a single value from this field before an output comes?