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

how to set default field value

Hi there

How can i set the 3 charts default to "BT" without need to click on the button "BT"

where the field is "ct" and value is "b"

Capture.PNG

i tried use the expression =ct='b' in the dimension but doesnt work.

Capture.PNG

Thanks

3 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi,

Try like this in dimension

If(ct='b', ct)


Hope this helps you.


Regards,

Jagan.

jagan
Partner - Champion III
Partner - Champion III

or you can handle in your expression like below

Sum({<ct={''b}>} MeasureName)

The above expression is a sample you can change it accordingly.

Regards,

Jagan.

Not applicable
Author

Hi,

To set a default field value, we can actually use a trigger in sheet properties as shown below.3.png

So whenever you are navigating to that sheet, by default the field 'ct' will be set to 'B'.

Regards,

Vivek