Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
nramirez
Contributor III
Contributor III

Alternate State - Need to copy selection from default state to Alternate State

I have a couple selections that the user will make and need to capture those selections and apply them to an alternate state.

Does anybody have any insight or some demo's I might be able to take a peak.

Thanks in advance.

6 Replies
simenkg
Specialist
Specialist

If you create a button or a text box, under Actions - Selections there is an action called "Copy state content". This can also be used as a trigger on activate sheet.

Anonymous
Not applicable

Hey Nestor,

In case you are trying to achieve in an expression, this might be helpful using set analysis.

Considering you have an Alternate State as "STATE A";

=sum(<[STATE A]{<Year = $ :: Year>})>} Sales)

This will get the Year selected from the defalut state to your Alternate State.

Hope I have made a point.

Thanks,

Vijit

nramirez
Contributor III
Contributor III
Author

Simen,

I have been struggling with the "source state" and the "target state".  Can you help me filling it out.

I have my default state under "TOP 10 Customers"  screen shot, and what I'm trying to do is every time the user clicks on a particular ORDERACCOUNT I want to have a trigger copy the selections from the default state and apply them to the "Booked" alternate state.

I believe my target State statement is wrong or possible the entire idea could be a little off.

Any help would be greatly appreciate it.

See screen shoots below.

9-25-2014 9-28-55 AM.jpg9-25-2014 9-33-25 AM.jpg

simenkg
Specialist
Specialist

Source state: $

Target State : Booked

Anonymous
Not applicable

Not working 🙂

Anonymous
Not applicable

sum({[Booked] < ORDERACCOUNT*=$::ORDERACCOUNT >} yourvalue)