Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I've tried to hide an object using layout condition
the object is with alternate state for Example "Group1"
without using alternate state the condition work just fine
How do I implement the solution with an alternative state
TNX
Ariel
What is the condition that you are using today? May be specify the state in your expression:
Only({StateName}FieldName) = 'Something'
Thanks Sunny
today I'm using this expression on the layout condition
'GetSelectedCount(TARGET_NAME)=1'
I've tried to use {StateName} on my Expression
LIKE
'GetSelectedCount({Date1}TARGET_NAME) = 1'
it doesn't work
Hi Ariel,
Hope you are using QV11 which doesn't have OnActivate triggers for objects anymore. Since you're using alternate states that means you're using QV11. So it's not possible to click on a chart and have an action take place. You could create a button to switch the visibility of the listboxes. Here's an example where a button is used to hide/show two listboxes
https://community.qlik.com/message/201149?&_ga=1.39728803.1050552181.1455190735#201149
Regards,
Nandha
Try this:
GetSelectedCount(TARGET_NAME, False(), 'StateName') = 1
It make the object Disappear but after I Choose more then one (TARGET_NAME) the object Still in hide condition
Try this:
GetSelectedCount(TARGET_NAME, False(), 'StateName') >= 1
=GetSelectedCount(TARGET_NAME,'','State-Name')=1'
still doesn't work.
I want the object to show only if i choose one TARGET_NAME and disappear if I choose more then one or I have more then one possible values
the expressions that you all sent make the object disappear and never shows again.
A stupid question Just to make sure when you write down "StateName "
it means that I need to change to my Alternate State Name of the object Like "Date1"?
Tnx for the help
Did you try this:
GetSelectedCount(TARGET_NAME, False(), 'StateName') >= 1