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

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

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