Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Alternate state object with show condition

Hi,

I wanted to use an alternate state for an object with conditional show. When implementing it the object with the alternate states they are being hidden. I don't the exact reason for this behaviour. The condition that has been used is

=only(sales)='USA'

4 Replies
sujeetsingh
Master III
Master III

can you post a sample

Try using

=if(sales='USA',1,0)

Not applicable
Author

No it's not working, Any condition used in layout tab makes the alternate state object to appear in all the states.

the required output is if my sales is America then, it should display the alternate state object

tresesco
MVP
MVP

GetFieldSelection() has now(possibly from SR8 onwards) got one parameter to allow alternate state. Hence, upgrade (if required) qv and try the function. 

Not applicable
Author

You mean that I need to upgrade my Qlikview version(right now I am using SR6) and then it works using GetFieldSelection(), to get the desired result.