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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Filtering dimensions based on Slider value

Hi All,

I have created a variable and then created a slider that changes this variable. The range of the variable is 0% to 100%.

Now, I have a dataset as follows and I want to show those dimensions for this %Sales column matches with the slider value.

CustomerSales% Sales
A-1010%
B-2020%
C-3030%
D-4040%

For example, if the slider is selected at 40%, I want to filter the above table to show only Customer D. Is this doable?

11 Replies
israrkhan
Specialist II
Specialist II

I think you can do it by conditional dimensions,

check conditional and put condition like below for dimension

if($(Sale)=10)

hope it help..

Not applicable
Author

Hi!

I would use a calculated dimension instead of "Customer"

example:

if(%SalesExpr = $(YourVar), Customer)

and flag "Suppress When Value Is Null" on this dimension

Not applicable
Author

Hi,

I have used triggers on variable and used the calculated dimension. See the attachment.

Not applicable
Author

Thanks Venu and Francesco. I would have tried exactly the same, but my %Sales Expression is a relative field. I am unable to use that expression in my dimension. I hope I am able to understand.

CustomerSales% Sales (I have selected Relative checkbox to get this value)
A-1010%
B-2020%
C-3030%
D-4040%

Can you help further?

Not applicable
Author

Hi Sagar,

Please check the attached... Hope it would suffice your requirement.

Regards,

Nitesh

Not applicable
Author

Nitesh, thanks for your effort but this doesnt work for me because you have assumed that %Sales is a field that I am using, while it is a Relative Expression in my straight table.

Not applicable
Author

have you tried to transform the number in the if statement? Can you attach an example of your straight table ?

Not applicable
Author

Hi Francesco,

I am attaching a sample of exactly what I plan to achieve. I would want the straight table to show the data only for the value selected in the slider. Looking forward to your response.

Thanks,

Sagar

Not applicable
Author

Hi Sagar,

Could you please elaborate the problem statement a bit more...

Regards,

Nitesh