Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
chriscools
Creator II
Creator II

Hide object if "Month" is not selected.

Hello,

how can i make an object dissapear if there is no month selected?

i want the object only to appear if there is no selection in the field "Month".

thanx!

chris

14 Replies
Not applicable

Hello Chris,

you can create Calculated dimension some thing like  if(isnull(getfiledselections(Filed)),Object)

this may not hide the object  but it might help you.

Thanks & Regards,

Venkat T

sivarajs
Specialist II
Specialist II

Chart Properties--> Layout -->Show--> Conditional--> if(getselectedcount(field)=1,1,0)

1-show 0-Hide

Not applicable

yup...i thought the requirement is to hide the particular dimenison not the entire Object like chart or table...

but thanks for Sivaraj...

Thanks & Regards,

Venkat T

jagan
Luminary Alumni
Luminary Alumni

Hi,

In Chart Properties -> Layout -> Show -> Select Conditional

then give the following expression

=If(GetSelectedCount(DimensionName) > 0,1,0)

Hope this helps you.

Regards,

Jagan.

Anonymous
Not applicable

Not applicable

Looked like magic. 

But i need to display a message if a month was not selected instead of entire chart to disappear. How do i do that?

Thank you.

buzzy996
Master II
Master II

see tis,

data.PNGnodata.PNG

Not applicable

Got it, thank you for prompt response.

cheers

buzzy996
Master II
Master II

if ur happy with tht sol,please mark as correct