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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Merge two working functions, fail

Hi,

Im trying to replace "AMOUNT" in my first expression with the IF statement. But I cannot make it work.

They both work properly when trying them separately. What am I missing here? How would you merge the two?

Kind Regards,

Olle

SUM({<[FLOW TYPE]= {'XXX'}>}AMOUNT

SUM(IF([FLOW EFFECTIVE DATE]<DATE and [FLOW MATURITY DATE]> DATE,AMOUNT))

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

SUM({<[FLOW TYPE]= {'XXX'}>} IF([FLOW EFFECTIVE DATE]<DATE and [FLOW MATURITY DATE]> DATE,AMOUNT))


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
sunny_talwar

What is the combined version that you are trying?

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

SUM({<[FLOW TYPE]= {'XXX'}>} IF([FLOW EFFECTIVE DATE]<DATE and [FLOW MATURITY DATE]> DATE,AMOUNT))


talk is cheap, supply exceeds demand