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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
sumitk
Partner - Creator
Partner - Creator

Only One Selection Should be show in Filter Pane

Hi All,

I created a calendar on my customer side like as shown below

sumitk_0-1737560958095.png

 

In Calendar if you see Jun and Jul both are selected but user want to select only one, they don't want multiselect.

By Using Always one selected value I can achieve this but due to some scenario I cannot use Always one selected value properties.

Is there any other way to achieve Always one selected value without using default properties.

 

Thanks in advance.

5 Replies
marcus_sommer

Selecting all values which should be included in the data-sets for the wanted views is the most intuitive way and usually very simple and fast to perform. Everything else will add an overhead with some risks of confusing to which data-set is behind the views.

Therefore it should be well balanced how much adjustments are made to manipulate the default state and how it's documented / communicated to the users.

Very likely I would for such a scenario implement a reference within the expressions to the max. month, for example with something like:

sum({< MonthNum = {">=$(max(MonthNum)-1)<=$(max(MonthNum))"}>} Value)

JandreKillianRIC
Partner Ambassador
Partner Ambassador

Hi @sumitk 

Another alternative would be to use a variable. Where the user can answer the question (multi / single) select. 

Based on this you can use the "add on" tab to add a calculation condition. This will prevent the chart / table from showing if they selected more than 1 Month but in the variable selected Single. 

Regard - Jandre

Mark the solution as accepted that solved your problem and if you found it useful, press the like button! Check out my YouTube Channel | Follow me on LinkedIn

sumitk
Partner - Creator
Partner - Creator
Author

Hi,

Thanks for your reply, but its not working

JandreKillianRIC
Partner Ambassador
Partner Ambassador

Hi @sumitk 

Its not possible to do this using a variable or any other method. However you can prompt the user if they made a multi selection when the intent was to only select one. Attached is a video showing this using a layout container that would just unhide a text box that is placed above the filter. 

You can also use the Add on (Calculation Condition) 

JandreKillianRIC_0-1737622036952.png

 

Mark the solution as accepted that solved your problem and if you found it useful, press the like button! Check out my YouTube Channel | Follow me on LinkedIn

Chanty4u
MVP
MVP

Try this 

IF(GetSelectedCount(Month) <= 1, Month, NULL())