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

Dimension of the gauge by selection in the list box

Hi All,

I have a list box which contains the dimension values and i have gauge chart which is in trellis mode. What I want is as per my selection in the list box it should be the dimension of the gauge chart.

Hope some one can help me out soon!

Thanks and Regards,

Rikab

1 Reply
mike_garcia
Luminary Alumni
Luminary Alumni

Hello,

I've never done that, but I've done something similar with Expressions, so I'm thinking about two options.

The first one would be an if statement using the GetCurrentSelections() function. Maybe this one is a bad choice for performance.

The other is what I've implemented with expressions. First, you need to create a table in the script that has the Dimension Name and the Name of the Field associated with it. That is, you would have the table with two fields: Dimension and FieldName.

The Field Dimension would go in the list box, then you create a calculated dimension in the Trellis as $(FieldName). Of course, the list box would only allow one single value selected.

Let us know if it worked.

Cheers.

Miguel García
Qlik Expert, Author and Trainer