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

Community site session details

Session Id : lxm+Fm2840X3mDRWb/c8t6
Power Apps - Building Power Apps
Unanswered

Filter Icon Change to Filled when any Combo Box selection is Made

Like (0) ShareShare
ReportReport
Posted on 5 Jul 2023 14:49:58 by 56

Hi Community,

 

Currently I have a photo library gallery that I can type into a search filter and then further filter by options on a combo box. I am trying to make this look prettier and show the filter icon + filled filter icon next to combo box. How can I set the Visible properties so that if no selections are made on combo box, filter icon stays unfilled, but when any selection is made on the combo box, the unfilled filter icon goes away and the filled filter icon replaces it and vice versa. 

 

Similarly, I'd also like there to be a button that can clear all filters from the combo box.

 

Could anyone please assist? 

 

Thank you,

Brandon

  • brandonluxe Profile Picture
    56 on 05 Jul 2023 at 15:48:27
    Re: Filter Icon Change to Filled when any Combo Box selection is Made

    Hi Ethan,

     

    Thank you for the quick reply. I cannot seem to understand the syntax side of Power Apps. Could you please explain what you are doing there?

     

    I'm not sure what to substitute for TextInput1. Basically for the combo box, if there is a selection, the filter goes from Icon.FilterFlat to Icon.FilterflatFilled. If filter removed, Icon.FilterFlatFilled changes back to Icon.FilterFlat . However, I only want this to happen for the filter icon itself and has nothing to do with the search bar that I have. Because it is a multi-level search. First we search and then can filter down additional info with combo box.

     

    Gallery = galList

    Form = formList

    Combobox = ComboBox1

    Search Bar = txtSearch

     

    Thank you,

    Brandon

  • Ethan_009 Profile Picture
    4,838 Moderator on 05 Jul 2023 at 14:58:23
    Re: Filter Icon Change to Filled when any Combo Box selection is Made

    Hi @brandonluxe ,

     

    You can try the following syntax:

    Icon property of Icon

    If(
     IsBlank(TextInput1.Text) &&
     IsEmpty(combobox.SelectedItems)
     //Add other fields you want
     ,
     Icon.Filter,
     Icon.FilterFlatFilled 
    )

     

    Hope this helps

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete