Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Highlighted
vishsaggi
Esteemed Contributor III

Chart hide show based on latest selected field (Not selected field value)

Hi, PFA qvw file with 3 fields and 3 text boxes. I need to hide show these text boxes when field values are selected, but if the last selection is on 2nd field only 2nd text box should be shown the other two should be hidden.  Like i have FieldA, FieldR, FieldT with respective text boxes. When i select a value in FieldR, R text box should show, if i select FieldA, FieldA text box should show and R textbox should be hidden and so on. So this is based on last selection made on specific field. 

Any help much appreciate it. 

@sunny_talwar @swuehl 

2 Replies
Partner
Partner

Re: Chart hide show based on latest selected field (Not selected field value)

You can use getselectedcount function to get the desired output, i.e in the layout of the A text box you can set the Show as conditional and use the expression as GetSelectedCount (A)>=1 it will then show/hide the text box on the basis of this.

 

 

Support
Support

Re: Chart hide show based on latest selected field (Not selected field value)

The piece that may be missing though is if the other field still has a selection, how to hide that text object, as that was the requirement as I read through things, but I have no idea off the top of my head how best to go at that, so hopefully someone else will potentially chime in, but you may want to confirm I am on the right track regarding the rest of the requirement/use case here, as that should let folks know you need more info.

Regards,
Brett

To help users find verified answers, please don't forget to mark a correct resolution or answer to your problem or question as correct.