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 Analysis: How to combine a variable or column with wildcard

Hi,

How can I I combine a variable or column with the wild card in set analysis:

Something like this with variable:

sum({$<HID= {$(vHID & '*')}>} Amount)

Or like this syntax with a column:

sum({$<HID= {$(HID & '*')}>} Amount)


Thanks!

1 Solution

Accepted Solutions
maxgro
MVP
MVP

=sum( {$<HID={"$(HID)*"}>} Amount )

View solution in original post

3 Replies
maxgro
MVP
MVP

=sum( {$<HID={"$(HID)*"}>} Amount )

Not applicable
Author

And in case I wanna use the variable I just need to replace the field with the variable (vHID) and it should work, right?

=sum( {$<HID={"$(vHID)*"}>} Amount )

maxgro
MVP
MVP

yes I forgot the v