Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
jesus_gomez
Partner - Contributor II
Partner - Contributor II

Alternate states not working

Hi everyone, I have a problem with states in graphs

I have created a graph with two dimensions and one expression ( it's a variable). Once this graph is working, I have cloned it and assigned State A to the first one and State B to the second.

Then i make a selection in my dashboard with selectors with state A or B, and my graphs are not changing! But, if we set this selectors to inherited, both graphs change.

I don't know what is happening, because, at the same dashboard, other graphs with two dimensions and one expression are working fine whit the same states.

Thanks in advance!

1 Solution

Accepted Solutions
Anonymous
Not applicable

Have you got a Set Analysis $ in your expression ?

If so remove it otherwise it will force it to the Default state and ignore your Inherited Alternate State.

View solution in original post

10 Replies
sunny_talwar

Would you be able to share a sample to look at the issue? Seems like something is not done correctly

Anonymous
Not applicable

GO TO SETTINGS -> DOCUMENT PROPERTIES-> SELECT THE ALTERATIVE STATES

GIVE THE NAMES LATER TO SELECT THE NAME AT THE PARTICULAR OBEJCET THAN IT IS SELECTED  AND THE FOLLOWING IS THE  LINK IS USE FUL TO YOU

http://www.learnqlickview.com/alternate-states-in-qlikview/

Anonymous
Not applicable

Have you got a Set Analysis $ in your expression ?

If so remove it otherwise it will force it to the Default state and ignore your Inherited Alternate State.

jesus_gomez
Partner - Contributor II
Partner - Contributor II
Author

Thanks Bill, but the others are working with set analysis

jesus_gomez
Partner - Contributor II
Partner - Contributor II
Author

Seeing other documentation, in my dashboard State it's in the chart level, and my expression doesn't have it, so, here is the point, why is it working for some charts only? I thought that setting it at the chart would be enoguh

Should include the state in all my expressions?

Is there another option to set this? (becaue I have a lot of formulas)

Thanks to everyone for your answers

Anonymous
Not applicable

sunny_talwar

In expression you can specify state as follows:

{[StateName]<>} The name of the state should turn blue

Anonymous
Not applicable

Would be helpful if you share a sample

jesus_gomez
Partner - Contributor II
Partner - Contributor II
Author

Hi everyone, finally I could solve the problem

The issue was that my expressions were with variables as $(vSetYTD) or $(vSetMTD) inside.

This is:

sum($(vSetYTD) Sales)

What we did was changing that variables for those who call them:

sum(<{$(vSetYTDModifier)}> Sales

and it worked!

Excuse my explanation, but I am a rookie with Qlikview and maybe I didn't explain mysellf correctly

Thanks everyone for your help