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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
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