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

Set Modifier strange behaviour

I have a chart of accounts and I am using set analysis to get the balance for specific accounts. The account codes are strings of four numbers, for example 0031, 1122, 2201.

My expression is quite simple:

sum({$<AccountNumber={0031}>} Balance)

but this doesn't work, it shows a balance of 0.00.

However if I change it to:

sum({$<AccountNumber={'0031*'}>} Balance)

this gives the correct balance, and so does this:

sum({$<AccountNumber={'>=0031 <=0031'}>} Balance)

I don't understand why the first expression doesn't work. Any ideas? Thanks, Paul

10 Replies
awhitfield
Partner - Champion
Partner - Champion

Good stuff, glad that it's sorted.