Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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
Luminary Alumni
Luminary Alumni

Hi,

Try like this in dimension

If(ct='b', ct)


Hope this helps you.


Regards,

Jagan.

jagan
Luminary Alumni
Luminary Alumni

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