Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
danosoft
Specialist
Specialist

Set Fields in Alternate State

Hi i need to set Alternate state fileds, clicking to a button, how can i do that?

In my actions's button i do this you see in the picture... but it not work...

1 Solution

Accepted Solutions
danosoft
Specialist
Specialist
Author

I have found the solution if it can help someone in this way :


GetFieldSelections(ANNOIN,';','','$')

View solution in original post

16 Replies
sunny_talwar

Set the state name here

Capture.PNG

sunny_talwar

Why don't you just use Copy State Contents to copy the selections from one state to another?

Capture.PNG

danosoft
Specialist
Specialist
Author

The first solution in my case not work... the second is interesting but what i need to put in the 2 text area "Stato sorgente" and "Stato obiettivo"?

I have only 1 alternate state, and his name is "Contrattualizzato"

sunny_talwar

what i need to put in the 2 text area "Stato sorgente" and "Stato obiettivo"

Put in the 2 text area? What exactly do you mean?

danosoft
Specialist
Specialist
Author

look at the attachment

danosoft
Specialist
Specialist
Author

this not work, i tried

sunny_talwar

Source State -> $

Target State -> Contrattualizzato

balabhaskarqlik

Once again re check your alternate state fields creations, try to check the alternate state name in other objects.

Follow these:

https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Alternate%20States.htm

http://www.qlikfix.com/2014/08/12/alternate-states/

danosoft
Specialist
Specialist
Author

Thanks, it work, but it don't make filter for the selection in the Chart!

and if i not choose nothing, It will choose all selection in Year and in Month in my new sheet