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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
ksiddiqui
Contributor II
Contributor II

How do I make bar chart for TOP 10,20,30,40

I want to add in my bar graph that give option to the person to see result byt top 10,20,30,40 however he like please suggest how can I do. i know in filter we can limit once but I want to know how to do multiple in one graph?

6 Replies
theoat
Partner - Specialist
Partner - Specialist

You can use the variable imput slider.
I will write you a demonstration.

theoat
Partner - Specialist
Partner - Specialist

First, set a variable. Default value 10.Capture d'écran 2024-02-15 104532.png

Next, add the variable input object to your sheet.

cea90c06-6d96-4d08-957d-4c5ee6d663a7.png

Set it up on slider, with the variable created, with a minimum of 10, a maximum of 40 and a step of 10.

Capture d'écran 2024-02-15 114217.png

Then, add this variable to the dimension boundary.
Capture d'écran 2024-02-15 113922.png

The graph then adjusts to the value chosen on the slider.

Capture d'écran 2024-02-15 113929.pngCapture d'écran 2024-02-15 113936.png

Kind regards,
Théo ATRAGIE.

ksiddiqui
Contributor II
Contributor II
Author

Thanks for the above idea but what if I don't make the slider and give the option in x axis the way drilling is done.

theoat
Partner - Specialist
Partner - Specialist

Alternatively, you can create one button per top to analyze. Each button will assign the variable a value (example: 10). The slider option is more convenient.

theoat
Partner - Specialist
Partner - Specialist

If you don't set the option to the absisse axis, the chart will not be responsive to slider selection.

ksiddiqui
Contributor II
Contributor II
Author

What if I want to make it into a drop-down then how can I do it and can we customize the size of the title because in variable input I cannot see any option for styling?