Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Need help expression syntax

Hi,

So far I have

if(sum(TXN_COUNT) < 11 ,sum(TXN_COUNT))

which mostly does what I need it to do. I need to do something like

if(sum(TXN_COUNT) < 11 and SYS_ID in 'WIRES_ONLINE', 'ADVANCES_ONLINE', sum(TXN_COUNT))

This isn't the correct syntax but I need to show the sum of TXN_COUNT only when the SYS_ID is either one of those 2 values.
Any help would be greatly appreciated.


2 Replies
Not applicable
Author

Try this:

if(sum(TXN_COUNT) < 11, sum({$<SYS_ID={'WIRES_ONLINE','ADVANCES_ONLINE'}>} TXN_COUNT))

Not applicable
Author

Thanks - this is perfect!