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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Select by Default

Hi,

In my dashboard, I have a Multi-box object as a filter with several dimensions.

I need fix values on one or two of these dimensions just for when the dashboard is opened, in order to it presents data filtered according these dimensions in the  multi-box.

Multi-box.jpg

How I can do that?

1 Solution

Accepted Solutions
alec1982
Specialist II
Specialist II

Set the trigger on Opening the document to select these values.

Setting>>Document Setting>>Triggers>> On Opening>>Type in the field name and the field value.

View solution in original post

16 Replies
Not applicable
Author

Here is a thread that may be of interest to you.  I know it says macro, but the solution given there uses document actions instead which makes it much easier

Macro for default Selections

nam
Former Employee
Former Employee

Settings>sheet Properties>Triggers.. you can put a trigger on activate to make the

Jason_Michaelides
Partner - Master II
Partner - Master II

How about just saving the doc with the selections made?

Not applicable
Author

I already do that, but it's not working

Thanks!

Jason_Michaelides
Partner - Master II
Partner - Master II

How do your users access the application?  You could save a bookmark, then give a URL to the users that opens the doc and applies the bookmark.

alec1982
Specialist II
Specialist II

Set the trigger on Opening the document to select these values.

Setting>>Document Setting>>Triggers>> On Opening>>Type in the field name and the field value.

Jason_Michaelides
Partner - Master II
Partner - Master II

A word of caution against OnOpen triggers...they can be problematic. For example, I had persistent browser crashes with IE10 when using OnOpen triggers. Once they were removed the crashes stopped.

I would always minimise use of triggers if possible.

Not applicable
Author

You can put a trigger on opening the QVW that makes the selections in the fields you want.

Settings > Document Properties > Triggers > Document Event Triggers > OnOpen > Add Action

Here you will add Action Type "Selection" with an Action of "Select In Field"

Not applicable
Author

Both ways: vía URL and direct from server...

Because of that, I need fix the defaults...