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: 
brunopaulo
Partner - Creator II
Partner - Creator II

Hide objects in alternate states

Hi community,

I'm doing a dashboard with alternate states. I want display some text boxes only when 1 field is select on both sides. I go to Tab Layout and i know there is a show conditional. And i can use it for hide when 1 side is selected. But i can't do for both of them. Anyone can help me?

Thanks in advance

Best Regards

Bruno Paulo

10 Replies
marcus_sommer

You could try it with: getselectedcount(Field, false(), State1) * getselectedcount(Field, false(), State2)

- Marcus

brunopaulo
Partner - Creator II
Partner - Creator II
Author

Error in State1 dont' know why

marcus_sommer

State1 and State2 are just examples and you need to replace them with the name of your states.

- Marcus

brunopaulo
Partner - Creator II
Partner - Creator II
Author

I know and i did

vishsaggi
Champion III
Champion III

can you share your app you are facing the problem with?

alis2063
Creator III
Creator III

Could you please try =getselectedcount(Field, false(),[State1]) * getselectedcount(Field, false(),[State2])

justinvchiang
Contributor III
Contributor III

Hi Bruno,

Give this a shot, single quotes make the difference I think

GetSelectedCount(Field, false(), 'State1') * GetSelectedCount(Field, false(), 'State2') 

brunopaulo
Partner - Creator II
Partner - Creator II
Author

Sorry yesterday i had to leave. But problem is solved. Thank you

brunopaulo
Partner - Creator II
Partner - Creator II
Author

This didn't work. But thank you problem is solved.