Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
yipchunyu
Creator
Creator

Dynamic Age Group

We are going to upgrade our QS server from 2018 version to the latest one.  Some new features including the variable input.   May I know whether it's feasible to use these to create a way for users to input / select the age for different buckets and then a chart e.g bar chart based on this dynamic age bucket?

1 Solution

Accepted Solutions
anseglko
Creator
Creator

It is doable. Just create a new variable , set variable input to input box and then the bar chart dimension to class(dimension, $(your_variable)). For example if user types 10, then the bar chart should update so that your dimension is grouped by intervals of 10. Put the whole thing around replace() to get rid of the ugly '<= x <'.

Is this what you were looking for?

variable.png

View solution in original post

2 Replies
anseglko
Creator
Creator

It is doable. Just create a new variable , set variable input to input box and then the bar chart dimension to class(dimension, $(your_variable)). For example if user types 10, then the bar chart should update so that your dimension is grouped by intervals of 10. Put the whole thing around replace() to get rid of the ugly '<= x <'.

Is this what you were looking for?

variable.png

yipchunyu
Creator
Creator
Author

Works well.  Great thx.