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

Announcements
AWS Degraded - You may experience Community slowness, timeouts, or trouble accessing: LATEST HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
ZoeM
Specialist
Specialist

Use button to select Dimensions

Hi Community.

Hey I have an interesting one today. It should be simple enough but Im stumped. 

Can one create an action that selects dimensions?  

I have 26 dimensions and I want to create a button (or use text object) that when clicked it will select only desired dimensions and so forth. 

Is that possible?

Labels (1)
1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Load your Dim fieldnames into a field, for example, "SelectedDim".  Then code your chart dimension as:

=$(=MinString(SelectedDim))

Make a listbox for SelectedDim. 

See attached example. 

-Rob
http://masterssummit.com
http://qlikviewcookbook.com
http://www.easyqlik.com

View solution in original post

6 Replies
jaibau1993
Partner - Creator III
Partner - Creator III

Hi!

There is an action to "Select in Field". You may use it!

Regards,

Jaime.

ZoeM
Specialist
Specialist
Author

Thanks Jaibau

Yes but I have to specify what to select in the field where in this case I want only that dimension to be showing in the chart.

I have noted one workaround is to give each dimension a variable and then create buttons based on the variable value.

I thought there would have been an alternative?

Brett_Bleess
Former Employee
Former Employee

Zoe, are you referring to something like choosing which dimensions to use in a chart etc.?  Need some further info on the use case on this one I think in order for folks to be able to try to guide you on possible ways of doing things.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
ZoeM
Specialist
Specialist
Author

Thanks Brett. I will try to be a bit more specific.

So currently in Qlik we have Select In Field which allows us to select something within one of the dimensions. But in this case I want to select dimension as a whole and not just a value within a specified dimension. 

Is this currently possible in Qlik without specifying a variable and using show/hide condition?

Thanks team!

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Load your Dim fieldnames into a field, for example, "SelectedDim".  Then code your chart dimension as:

=$(=MinString(SelectedDim))

Make a listbox for SelectedDim. 

See attached example. 

-Rob
http://masterssummit.com
http://qlikviewcookbook.com
http://www.easyqlik.com

ZoeM
Specialist
Specialist
Author

Thanks Rob for the insight