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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
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