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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
aschmeelk
Contributor III
Contributor III

Getting error in set expression and don't know why.

I am using the following code to determine a value:

Count( {<DaysOverDue > {1}>} distinct Work_Order_Number)

where DaysOverDue is a numeric value.

The error is 'error in expression: '}' expected'. I can't see where a brace is missing.

Any help will be greatly appreciated!

3 Replies
sunny_talwar

Are you looking for one of these?

Count({<DaysOverDue = {1}>} DISTINCT Work_Order_Number)

or

Count({<DaysOverDue = {">1"}>} DISTINCT Work_Order_Number)

aschmeelk
Contributor III
Contributor III
Author

The latter of the two. ok so the > has to be in the braces with the cardinal number and in quotes.  I didn't realize that. Thank you!

sunny_talwar

Yup