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

Announcements
AWS Degraded - You may experience Community slowness, timeouts, or trouble accessing: LATEST HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How i can do this ... ?

How i can do this in set analysis????

if(AmortType='N',sum(if((Date(vToday) - Date(if(DateType='C',RefDate,DueDate)))>360,Debit-Credit)),

                 sum(if((Date(vToday) - Date(if(DateType='C',RefDate,DueDate)))>360,Debit-Credit)))

please help me.

Regards

Fernan Gonzalez

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You can't do this with set analysis expressions as far as I know. Set analysis calculates sets to operate on. That's not what you're doing here. You use if statements to pick which sum expression to use and which field to use in comparisons. Set analysis can't help you with that. You need the if statements for that.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You can't do this with set analysis expressions as far as I know. Set analysis calculates sets to operate on. That's not what you're doing here. You use if statements to pick which sum expression to use and which field to use in comparisons. Set analysis can't help you with that. You need the if statements for that.


talk is cheap, supply exceeds demand
Not applicable
Author

thanks