Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Qlik Analytics Tour 2020 Online. Begins August 10th. Register Today
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Clearing Alternate State

Why the native  'Clear' button  or 'Clear All' created as button does not clear  all states?

My example below:

States: Current and New,

Trigger on 'New' State Listobox to to choose from 'Current' list box.

The selection box below (in Current state) still have selection after the Clear button is pressed.

The 'Clear' icon within the box does not work either.

Just changing the selections from being divided by '|'

(From expression)

to ','

I found out as well  that the 'Current Selection' box  must have one field in it.

You can clear everything but one field need to stay inside the box.

3 Replies
Highlighted
MVP
MVP

Re: Clearing Alternate State

Could you post a small sample QVW?

Highlighted

Re: Clearing Alternate State

Hi Stefan.

Thank you for replay.

I can not from current data not sure if I can replicate that example somehow diffrent

Any thoughts without saying the example?

My expression to pick up the entry from the Current state is:

(as a trigger on field ,'On select')

=replace(replace('(' & Concat(DISTINCT {Movement_NewLevel_1, '|') & ')',' ','?'),'&','?')

Highlighted
MVP & Luminary
MVP & Luminary

Re: Clearing Alternate State

Maybe you could instead of a clear-action use a selection-action with: = null() to clear your field. Normally it worked reliable for this purpose whereby I never tried it by using states.

- Marcus