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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Problems with expressions

I have a column (field) called [Nº Order] where the appears the order Nº. I have another column (field) called [Reason] where I get the different origins of orders including the value 'ZWW' if the order was placed online. My intention is to count the number of orders placed online.

By introducing the expression:


Count ({} <Motivo O ='ZWW'> DISTINCT [No Order])

I returned the same as:


Count (DISTINCT [No Order])

And not all orders are online.

I would appreciate if you can tell me a solution or explanation.

Thanks!

1 Solution

Accepted Solutions
Not applicable
Author

Your Set Analysis syntax is incorrect. Try:

Count ({<[Motivo O] ={'ZWW'}>} DISTINCT [No Order])


View solution in original post

2 Replies
Not applicable
Author

Your Set Analysis syntax is incorrect. Try:

Count ({<[Motivo O] ={'ZWW'}>} DISTINCT [No Order])


Not applicable
Author

It works!

THANKS!!!