Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Creating Dynamic TOP# Bar Charts with Variables

Greetings!

I'm trying to use a input variable to control how many customers will be analyzed in a ranking bar chart.

I tried using the variable here:

23231231124.JPG

But no data is displayed on the chart, implying that it does not work.

Anyone have ever stepped upon it before?

Thank you very much in advance guys! Live long and prosper! \\ //_

1 Solution

Accepted Solutions
IAMDV
Luminary Alumni
Luminary Alumni

Hi,

I have used this technique in the past. I have created two sliders which works with one variable, I mean one slider contains % of rows to display and other one Count of rows to display. And also used Top & Bottom toggle button to show the top or bottom %/Count of rows. To get this working I have used sorting by expression.

I don’t see any problem with your variable. It also shows that you have included equal to(“=”) at the beginning of the variable. Have you tried to check the variable value in TextBox to see if it changes? It will be good if you can post the QV document... I can look into this issue for you.

Cheers - DV

View solution in original post

1 Reply
IAMDV
Luminary Alumni
Luminary Alumni

Hi,

I have used this technique in the past. I have created two sliders which works with one variable, I mean one slider contains % of rows to display and other one Count of rows to display. And also used Top & Bottom toggle button to show the top or bottom %/Count of rows. To get this working I have used sorting by expression.

I don’t see any problem with your variable. It also shows that you have included equal to(“=”) at the beginning of the variable. Have you tried to check the variable value in TextBox to see if it changes? It will be good if you can post the QV document... I can look into this issue for you.

Cheers - DV