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 / Checkbox Filter on Sin...
Power Apps
Answered

Checkbox Filter on Single line of text column

(0) ShareShare
ReportReport
Posted on by 776

 

Could someone please guide me how to filter using checkbox with single line of text as column,

 

I have columns with names Admin impact, Feature Update, Major Update etc. My sharepoint list item will have entry like below

AshishJaiswal_0-1676890874981.png

 

Lets say, If I plan to include checkbox filter 

 

Checkbox for 'featureupdate' and 'Admin impact' etc, if user clicks on the checkbox gallery should filter based on the checkbox selection. 

 

Please guide me

Hello Experts,

Categories:
I have the same question (0)
  • Verified answer
    TheRobRush Profile Picture
    11,128 Moderator on at

    Here is an example.

     

    In this example my SPList is Named StorageUnits

     

    I have 2 checkboxes, checkbox1 and checkbox2.

     

    Checkbox1 has text property of one of the possible strings found in the ContactName column of my splist

     

    Checkbox2 has text property of one of the possible strings found in the ContactDepartment column of my splist.

     

    The gallery below them has a Items property of

     

    If(
     And(Checkbox1.Value=true,Checkbox2.Value=true),
     Filter(StorageUnits, ContactName=Checkbox1.Text || ContactDepartment=Checkbox2.Text),
     And(Checkbox1.Value=true,Checkbox2.Value=false), 
     Filter(StorageUnits, ContactName=Checkbox1.Text),
     And(Checkbox1.Value=false,Checkbox2.Value=true), 
     Filter(StorageUnits, ContactDepartment=Checkbox2.Text),
     StorageUnits
     )

     

    This gives me all gallery items when nothing checked, only items matching either checkbox if only one is selected, and all items that match one of the two when both are selected (can change that to only items that have BOTH selected by changing the || to &&)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard