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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
krish2459
Creator
Creator

Default selection :: filter

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 ' .

 

krish2459_0-1623830911303.png

Any suggestions please.

 

Thanks,

Krish

Labels (1)
7 Replies
NitinK7
Specialist
Specialist

may be you need to use button and set the action clear all and set field value

krish2459
Creator
Creator
Author

Hi,

 

We  don't  want to use the button.

 

Thanks,

Krish

JuanGerardo
Partner - Specialist
Partner - Specialist

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

krish2459
Creator
Creator
Author

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

 

 

NitinK7
Specialist
Specialist

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

JuanGerardo
Partner - Specialist
Partner - Specialist

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

NitinK7
Specialist
Specialist

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.