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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
harisin22
Contributor II
Contributor II

Setting default variable value (Sense)

Hello:

I am using the qsVariable extension (https://github.com/erikwett/qsVariable) to create cyclic dimensions and measures. This extension uses variables to implement this functionality. I would like to set certain dimensions or measures as default - I don't see a setting in the extension for this. Right now, every time the app loads, all selections are cleared and user has to select dimension/measure to see visualization. Is there a way to set default value for a dimension and a measure for the variables in Qlik Sense or within this extension?

Thank you,

Harinder

4 Replies
devyanshu_gupta
Partner - Contributor III
Partner - Contributor III

Hi,

You can give a default value for variable in the space where you introduce the variable. Left bottom space on front end

(X=).

Regards,

Devyanshu

nk16_
Contributor II
Contributor II

Did you find a solution?

Ana_K
Contributor
Contributor

Also interested if this was resolved.

Ana_K
Contributor
Contributor

In Edit mode, find 'X=' at the bottom left corner. Then find your variable and click edit. In field 'Description' put the default value.

 

Ana_K_0-1592861793563.png