Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
We have a fileter in the adshboard where we need to set one feild value by default even after the feild selection is clear.
In the below filter user can select 5 or 10 or 15 or 20 but when user clears the slection the filter should applied for ' 5 ' .
Any suggestions please.
Thanks,
Krish
may be you need to use button and set the action clear all and set field value
Hi,
We don't want to use the button.
Thanks,
Krish
Hi @krish2459, I recommend to configure your field as "always one selected value": https://help.qlik.com/en-US/sense/September2020/Subsystems/Hub/Content/Sense_Hub/DataSource/select-s...
JG
Hi @JuanGerardo "always one selected value" will be lock one value and we can can't select other fieldvlues.
Here we need to set the filter by default first value (' 5 ' in the above example) should be selected even the user clear the filter and also user should able to select other values( 10, 25 and 20 in the above example).
Thanks,
Krish
this is also possible way, only thing is
The Always one selected value defaults to the first entry in the field
you cant set any specific value of the field
This is not the Qlik Sense behavior, but maybe you can use a measure that always includes the '5' value in your expression, for example:
Sum({<Radius += {5}>} Sales)
JG
Hello @krish2459 ,
I think your requirement is not straight forward. So I think below steps will be helpful to achieve this.
1. Remove/hide the default qlik clear all button using 'css' code and add button for clear all.
if you are using the custom theme then you can add this css code in theme or simply you can add one multi KPI in sheet and add this css code in style css section property of multi KPI
NOTE- In multi KPI you add measure as '1' and select checkbox hide label and value and drag this multi KPI at bottom of sheet this will not showed when you enter done editing
2. Add Button and set both actions 1- clear all and 2. set filed value
3. and for opening sheep or dashboard you create a bookmark using field selection and set this bookmark as default bookmark.