Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
mohamed_ahid
Partner - Specialist
Partner - Specialist

Forbid Filter multiple selection

Hi everybody

Ho can i forbid multiple selection on a filter .

i'm using V9.

Thx

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

Hi,

Instead of Max() use MaxString().

Regards,

jagan.

View solution in original post

6 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi,

Select a value in the Filter and then Go to Properties -> Select "Always One Selected Value" option.

Regards,

Jagan.

mohamed_ahid
Partner - Specialist
Partner - Specialist
Author

thx Jagan,

but this not what i'm lookin for .

there is a difference between having an always one selected value and forbid multiple selection.

i think that will be done with triggers but i'm not sure.

jagan
Luminary Alumni
Luminary Alumni


Hi,

Chck this http://community.qlik.com/docs/DOC-3884

Go to Document Properties -> Triggers -> Field Event Triggers -> Select the Field ->  On Select Edit Actions (Click button) -> Add -> Selection -> Select in Field -> Give Dimension Name (In Field) and in expression (=If(GetSelectedCount(Year), Max(Year)) ) in Search string.

Hope this helps you.

Regards,

Jagan.

mohamed_ahid
Partner - Specialist
Partner - Specialist
Author

thanx Jagan

This will not work for me because i'm using char on the list . in the exemple it's a number .

but its very useful .i will post the final solution.

jagan
Luminary Alumni
Luminary Alumni

Hi,

Instead of Max() use MaxString().

Regards,

jagan.

mohamed_ahid
Partner - Specialist
Partner - Specialist
Author

Thanks jagan it works .