Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
ngulliver
Partner - Specialist III
Partner - Specialist III

Price Elasticity using Sliders

Has anyone found a way of demonstrating Price Elasticity of Demand using sliders?

What I am looking at is two sliders, one showing price, the other showing quantity of units. As the price changes, the quantity of units should change. Furthermore, if the quantity of units change, the price would correspondingly change.

Or is there an alternative approach to demonstrating this ?

Regards,

Neil

1 Solution

Accepted Solutions
jerem1234
Specialist II
Specialist II

I used the method Adam suggested above (using Variable Event Trigger -> On Input) using two variables and it seems they are indeed reacting to each other.

Please find attached.

View solution in original post

6 Replies
annafuksa1
Creator III
Creator III

Please see attachment.

ngulliver
Partner - Specialist III
Partner - Specialist III
Author

HI, Anna.

Thanks for your attachment.

What I was looking for in particular was sliders reacting to each other rather than an object reacting to two separate sliders.

Sorry - I may not have made that clear in my original post.

Thanks,

Neil

Anonymous
Not applicable

Hi Neil,

Depending on if the values in the sliders are fields or variables could you use one of the document triggers to watch for a change in one value and based on that make a change to the other value.

Settings -> Document Properties -> Triggers and then either Field Event Trigger or Variable Event Trigger.

This might lead to some interesting effects if the change of one value causes a feedback loop but it is the first avenue I would look down.

Regards,

Adam

jerem1234
Specialist II
Specialist II

I used the method Adam suggested above (using Variable Event Trigger -> On Input) using two variables and it seems they are indeed reacting to each other.

Please find attached.

ngulliver
Partner - Specialist III
Partner - Specialist III
Author

Hi, Jerem1234

Did you encounter an endless loop where the field event triggers were trying to recalculate both sliders ?

I envisage that there is a Field event trigger for both sliders there could be problems:

If Slider A is changed, the Field Event trigger will recalculate Slider B. Would this then trigger the Field Event for Slider B to try to recalculate Slider A ?

This is hypothetical, I haven't had the chance to try this yet.

Thanks,

Neil

ngulliver
Partner - Specialist III
Partner - Specialist III
Author

Hi, Jerem1234.

Just downloaded your example and seen my assumption was incorrect.

Many thanks for your help.

Neil