Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Variable is static in straight table?

I created a variable to use in a straight table expression. For some reason when I use it, the value doesn't change for each dimension value, but when I take the same thing that I set the variable to and put that in the expression in the table, the values do change based on the dimension. This is what the variable is set to:

=if(GetSelectedCount([Production Date]) <> 1, '-',

if(count([App Flag]) < 1, '-',

num((count(distinct if([App Flag] = 'Yes', [ID Number]))/count(distinct [ID Number])),'#,##0.00%')))

Is there anything I can do to make the variable act as a chart expression?

Thank you

1 Solution

Accepted Solutions
sunny_talwar

When you define the variable in variable overview, remove the equal sign in front of the expression

The Little Equals Sign

View solution in original post

1 Reply
sunny_talwar

When you define the variable in variable overview, remove the equal sign in front of the expression

The Little Equals Sign