Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
cristian_av
Creator III
Creator III

Alternate States: Default State not changing another states

Hi

I'm using alternate states to compare two tables.

Table 1 uses the "default" state

Table 2 uses the state "State A"

I have some date selector fields, and they all are in default state.

What I need is that this date selector fields affects all the objects.

How can I do that?

As showed in the image, the default state is not affecting the others states.

Sin título.png

1 Solution

Accepted Solutions
cristian_av
Creator III
Creator III
Author

Finally I solved in this way:


sum( {<Area=State_A::Area,Year=$::Year>} Amount)

View solution in original post

3 Replies
Anonymous
Not applicable

For the expression in your StateA object force it to the default $ state, with an expression like

    sum( {$} Exp2 )


See attached qvw.

cristian_av
Creator III
Creator III
Author

Using this, the expression totally ignores the stateA!

cristian_av
Creator III
Creator III
Author

Finally I solved in this way:


sum( {<Area=State_A::Area,Year=$::Year>} Amount)