Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

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
Honored Contributor III

Re: Alternate state object with show condition

can you post a sample

Try using

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

Not applicable

Re: Alternate state object with show condition

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

MVP
MVP

Re: Alternate state object with show condition

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

Re: Alternate state object with show condition

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.

Community Browser