web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter a gallery with ...
Power Apps
Unanswered

Filter a gallery with checkboxes

(0) ShareShare
ReportReport
Posted on by 691

.

 

Categories:
I have the same question (0)
  • QuentinDURIEZ Profile Picture
    577 Moderator on at

    Hi,

    If I assume that the field "Nature" is a Choice column in your Dataverse table, I suggest you to use RadioGroup instead of multiples Checkboxes, where Items are simply :

    Choices([NATURE OPTION SET])

    This formula will retrieve all possible options for your Choice column defined in Dataverse and will avoid having multiples checkboxes in your app that will do the same thing.

     

    After this, in the Items property of your gallery, use this : 

     

    Filter([SOURCE] , IsBlank([RADIO_COMP].Selected ) Or [NATURE FIELD] = [RADIO_COMP].Selected.Value)


    Regards,

  • Hii_iii Profile Picture
    691 on at

    .

  • QuentinDURIEZ Profile Picture
    577 Moderator on at

    Ok, so instead of using Choices(), create a collection or a table with all possible values (but a choice column will be more suitable!) 

    RadioGroup Items

    Table(["Option1", "Option2"])

     The Filter will be exactly the same.

    The main idea is to avoid creating distinct componements which have the same behavior and simplify the logic

    Regards, 

  • Hii_iii Profile Picture
    691 on at

    .

  • QuentinDURIEZ Profile Picture
    577 Moderator on at

    That's why I suggest you to use radio button instead of checkboxes

     

    Checkbox are meant to be like a switch toggle, radiogroup offer a more likely to works like a combobox

     

    In the future, if a 3rd value if Nature need to be implemented, you will save times 

     

    https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/controls/control-radio

     

    Regards,

  • Hii_iii Profile Picture
    691 on at

    .

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard