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: 
Not applicable

check two things before counting the number of customer ID's

=Count({$<[RMDEL]={'D'}, [CustomerID]={'W*'}>}[CustomerID])

I would like to check if the DELETE field if equal to 'D' and the Customer ID - starts with the letter 'W' then count.

is this correct? I don't seem to be getting any counts.

3 Replies
Not applicable
Author

Hi,

The syntax looks right. Are you getting 0 or - returned. If you are getting - then there is something wrong with the syntax.

Thanks

Nick

Not applicable
Author

comes back with zero, but checking the data - we have customers who are marked as deleted -

no error messages just no count.

Not applicable
Author

Hi,

Do you get a result if you try each condition on it's own?

Thanks

Nick