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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Issue in set analysis

Hi,

Can someone please tell me what is the issue in this set analysis expression.

sum({<[Order Line Item Type Code]={'STANDARD','MODEL'},match([Order Type]={*WARRANTY*,*AFTERMARKET*,*RETURNS*})>}[Unit Price])

Thanks in advance.

Regards,

Adi

1 Solution

Accepted Solutions
Not applicable
Author

Sorry, it should ahve been match not equal to

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

This is: match([Order Type]={*WARRANTY*,*AFTERMARKET*,*RETURNS*})

You can onky use field names on the left side of the =, not expressions.

Try: sum({<[Order Line Item Type Code]={'STANDARD','MODEL'},[Order Type]={'*WARRANTY'*,'*AFTERMARKET'*,'*RETURNS*'}>}[Unit Price])


talk is cheap, supply exceeds demand
Not applicable
Author

Sorry, it should ahve been match not equal to