Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
varunreddy
Creator III
Creator III

Multiple Button Selection

Hi Guys,

I am trying to select multiple values and also clear the selections using the same Button.

I did it using below mentioned procedure:

Used two buttons:

1. Action:

  ("BCBS"|"BCBS - Accuracy"|"BCBS - Completeness"|"BCBS - Timeliness"|"BCBS - DQ Control Gaps")

Layout condition:

  not GetSelectedCount([Primary Issue Driver])


2. Action:

Clear Field

Layout condition:

GetSelectedCount([Primary Issue Driver])

The Issue I am facing is, The button is populated even if I select any value other than above mentioned values.

Can anyone guide me?

Thank in advance!

Cheers,

Varun

4 Replies
sunny_talwar

Try these may be:

1. Action:

  ("BCBS"|"BCBS - Accuracy"|"BCBS - Completeness"|"BCBS - Timeliness"|"BCBS - DQ Control Gaps")

Layout condition:

GetSelectedCount([Primary Issue Driver]) > 0


2. Action:

Clear Field

Layout condition:

GetSelectedCount([Primary Issue Driver]) = 0

varunreddy
Creator III
Creator III
Author

If I select a button, it should select BCBS and BCBS-Accuracy across dashboard. If I select button for secong time, then the selections should be cleared.

This is what I am trying to do!

Should I use above mentioned expression in Layout?

sunny_talwar

Check my response to your other post. And try not to create duplicate posts for the same requirement.

Thanks,

Sunny