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

Combination of set and IF statements

Hi All,

Can we write set analysis and if combination like below.

will it work,I am seeing error in this expression.

Sum({<[Interior or Box or Front]={'Box'}>} if(count(TOTAL <[PO Item Set], [Sales Order]> [Sales Order])=1,[Ordered Qty]))

Will it work??,please provide your valuable suggestions.

Thanks

1 Solution

Accepted Solutions
Not applicable
Author


Hi,

Try this.

if(count(TOTAL <[PO Item Set], [Sales Order]> [Sales Order])=1, Sum({<[Interior or Box or Front]={'Box'}>} [Ordered Qty]))

Hope it will help.

View solution in original post

2 Replies
Not applicable
Author


Hi,

Try this.

if(count(TOTAL <[PO Item Set], [Sales Order]> [Sales Order])=1, Sum({<[Interior or Box or Front]={'Box'}>} [Ordered Qty]))

Hope it will help.

Not applicable
Author

Thanku ,looks perfect