Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Not applicable

ToggleSelect - Selected Value cant be cleared?!?

Hi,

i'm runnin in some issues whith the ToggleSelect action.

What i want to do is,to make sure, that always if a values is selected in a field, a special value of that field is selected too.

It shouldn't be possibility to make selection without selecting the special value.

So i add a trigger to my document.

ToggleSelect with the special value and field.

That value is selected but i cant clear it anymoreSmiley Sad

Means if i push "Clear" that value is still selected.

The trigger is "onSelect". But does that mean when i clear all fields, its equal to select that field?

So that the value is directly selected again?

Pls help, i'm confused...

Greetings

Sarah

1 Solution

Accepted Solutions
MVP
MVP

Re: ToggleSelect - Selected Value cant be cleared?!?

Hi

Put a conditional expression in the 'Search String' box of the Toggle Select action. Something like:

=If(GetSelectedCount(Field) > 0, 'Special', null())

Hope that helps

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
2 Replies
MVP
MVP

Re: ToggleSelect - Selected Value cant be cleared?!?

Hi

Put a conditional expression in the 'Search String' box of the Toggle Select action. Something like:

=If(GetSelectedCount(Field) > 0, 'Special', null())

Hope that helps

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable

Re: ToggleSelect - Selected Value cant be cleared?!?

How easySmiley Happy

Yes it works, very nice!

Thank you very much for solving my problem in 5 minutesSmiley Wink

Community Browser