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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
madhur4qlik
Partner - Contributor III
Partner - Contributor III

Set Expression for excluding a variable in calculation

Hi

i have a variable (vHO) and a field Country

(vHO) is a calculating buckets dynamically after some selections

So i am trying to ignore (vHO) in one formula with country.

Count({<Country=,$(=vHO)=>}ID)  is not working.

So i need to use a variable to exclude during a calculation .. can i do that.

1 Reply
rubenmarin

Hi Madhur, this can work if vHO contains the field name you want to ignore, you can try adding this expression to a table without caption, so you can see the expression in the column title and check how it's expanding $(=vHO),

Maybe you only need to remove the =:

Count({<Country=,$(vHO)=>}ID)