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

How to create a new dimension in Qliksense

I want to create a new dimension / parameter in Qliksense which should have entries / options for user to select say 'a', 'b' and 'c'. How can i do this ?

FYI - i want to use this dimension to pass this in an input variable - For eg :

IF dimension ='a' then $vInput 1  elseif dimension ='b' then $vInput 2 ....so on.

So that if user selects 'a', and then gives certain value in vInput 1, then chart should change accordingly

Not sure how much of this is achievable. Please help

 

1 Reply
Kayleigh_Milewski
Contributor III
Contributor III

I believe you are looking to use an inline table. You would add something like this to your load script:

 

user_selection_table:

load * inline [

user_selection,

a

b

c

];

 

This would give you a dimension called user_selection with options 'a', 'b', and 'c'

You could then use a filter pane with that dimension to allow the user to make a selection. If you only want them to be able to choose one at a time,  make sure to select "Always one selected value" under field settings.