Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
passionate
Specialist
Specialist

Set Analysis and Slider

I have list of products, cost price and selling price.

There is use case to filter out products on front end with slider.

Eg:- If i select slider as 20 Percent than product having profit less than or equal to 20 percent should be filtered.

output.PNG

Products should be filtered on whole dashboard in all the calculations. i.e KPI, etc

Please help me with some front end solution.

 

 

2 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Check this out.

 

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
sunny_talwar

May be create a OnChange Variable Event Trigger for vProfit where you trigger Select in Field on ProdCountry field (a new field created in the script) using the following expression

='=Only({<ProdCountry>} ([Selling Price]-[Cost Price])/[Cost Price]) <= vProfit/100'

image.png

Script for ProdCountry

LOAD ProductID, 
     Product, 
     [Cost Price], 
     [Selling Price], 
     Country,
     Product&Country as ProdCountry
FROM
[Slider Data.xlsx]
(ooxml, embedded labels, table is Sheet1);