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 on gallery from...
Power Apps
Answered

Filter on gallery from choices

(0) ShareShare
ReportReport
Posted on by 14

Hello Guys

 

I'm new to power apps, I did already some different flows in Power Automate. I'm kinda thinking that these are very powerfull tools. Although it is a steep learning curve I noticed. It kinda reminds me of Flash when I was still in school.

 

So this is what I use as data source:

I have a sharepoint list with different columns. And a choice that needs to be added to the filter.

 

I created a canvast app and did some changes to it already, I added some dropdowns, datepicker, etc... I made some filters on the gallery.

The current code is as following:

Filter('Busritten Lijst'; Dag=DateSelector.SelectedDate && nr=RitSelector.Selected.Value)

 


// && Status.Value='Ok' ) Value in Filter('Busritten Lijst', Status = "Ok").Title

 

But the last filter condition that I want to add is that it needs to filter a Choice option. You can see what I already tried behind the comment tags.  But whatever I try, it doesn't seem to be working.

 

 

Thank you for the help. If you have further questions/remarks don't hesitate to forward it.

 

Kind regards

J

Categories:
I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @BFS,

    Do you want to filter records with OK of status?

     

    To filter status of Ok in your list, you should write as below:

    Filter('Busritten Lijst', Status.Value = "Ok")

     

  • BFS Profile Picture
    14 on at

    Hi Qi

     

    This seems to be working. But what I actually would need is the ones without the Value = "Ok". I tried Value != 'Ok' but it doesn't seem to be working.

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    HI @BFS,

    To exclude OK from the status column and filter records based on it, please try as below:

    Filter('Busritten Lijst', !(Status.Value = "Ok"))
  • BFS Profile Picture
    14 on at

    Hi @v-qiaqi-msft 

     

    This seemed to have done the trick.

    Thank you!

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,045

#2
Valantis Profile Picture

Valantis 675

#3
11manish Profile Picture

11manish 592

Last 30 days Overall leaderboard