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 Apps
Answered

Gallery Filter

(0) ShareShare
ReportReport
Posted on by 202

Hi,

I'm having a gallery. i want filter all the products based on id and whose status is not ordered or dispatched from the datasource. but I'm not sure what i was doing wrong here. i'm getting all the products irrespective of status. below is the formula that i'm using

 

 Filter(orderProducts,Product_ID = SelectedProductID && (Status <> vStatus.ordered || Status <> vStatus.dispatched))

 

Categories:
I have the same question (0)
  • Powerplatform01 Profile Picture
    386 on at

    You can watch this video to resolve your issue

    https://youtu.be/bEVMhBW6vm0

    Also use

    Filter((orderProducts,Product_ID = SelectedProductID) && ((Status <> vStatus.ordered) || (Status <> vStatus.dispatched)))

  • Powerplatform01 Profile Picture
    386 on at

    Please like the post and video if your issue is resolved 🙏

  • Verified answer
    v-albai-msft Profile Picture
    Microsoft Employee on at

    Hi @Sharuk ,

     

    If your Status is a Choice column, you can try this:

    Filter(orderProducts,Product_ID = SelectedProductID && Status.Value <> "ordered",Product_ID = SelectedProductID && Status.Value <> "dispatched")

    If your Status is a Text column, you can try this:

    Filter(orderProducts,Product_ID = SelectedProductID && Status<> "ordered",Product_ID = SelectedProductID && Status<> "dispatched")

    Or directly use your vStatus.ordered and vStatus.dispatched to compare with the value:

    Filter(orderProducts,Product_ID = SelectedProductID && Status<> vStatus.ordered,Product_ID = SelectedProductID && Status<> vStatus.dispatched)

    valbaimsft_0-1627352303411.png

     

    Best regards,

    Allen

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 385

#2
Vish WR Profile Picture

Vish WR 367

#3
timl Profile Picture

timl 340 Super User 2026 Season 1

Last 30 days Overall leaderboard