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 / Two filters One Galler...
Power Apps
Answered

Two filters One Gallery pls help

(0) ShareShare
ReportReport
Posted on by 792

Hi All

 

I have a SP dataset that has multiple columns but the two I'm concerned about are Signed Off Status(calculated column) and ID (unique identifier given by SharePoint to an item)

 

On a single gallery i want to filter by only showing items that are "Unresolved" from Signed Off Status and when searched in the text input box by ID.

 

I can get this to work on separate galleries using the following item filters

Filter('Weekly Vehicle Checks on TW Vehicles',SearchWeeklyFailure.Text = ID)

Filter('Weekly Vehicle Checks on TW Vehicles','Sign Off Status' = "Unresolved")

 

But i cant get this to work on one single gallery

Can someone assist with what im doing wrong?

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    Try changing your Items property formula to the following:

    Filter(
     'Weekly Vehicle Checks on TW Vehicles',
     SearchWeeklyFailure.Text = ID && 'Sign Off Status' = "Unresolved"
     )

     

    I hope this is helpful for you.

    @Kmayes

  • Kmayes Profile Picture
    792 on at

    @RandyHayes 

     

    Thanks for responding i have just tried but i still doesn't seem to work 😞

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Kmayes

    You will most likely be having issues with the Calculate column.  Is it a text type calculated column?

  • Kmayes Profile Picture
    792 on at

    @RandyHayes I have just checked and the calculated column is a text type column 

  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @Kmayes ,

     

    Could you please try this codes to check if it works for your case?

    Filter(Filter('Weekly Vehicle Checks on TW Vehicles', ID= Value(SearchWeeklyFailure.Text)),'Sign Off Status' = "Unresolved")

    Hope this helps.

    Sik

  • Kmayes Profile Picture
    792 on at

    @v-siky-msft 

    Perfect this works! However is there a way that the gallery will visually show the 'Unresolved' items and then search by the ID, therefore is it a case of filter then search?

     

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

    Hi @Kmayes ,

     

    OK, I got you. Please try this:

    If(IsBlank(SearchWeeklyFailure.Text),
    Filter('Weekly Vehicle Checks on TW Vehicles', 'Sign Off Status' = "Unresolved"),
    Filter(Filter('Weekly Vehicle Checks on TW Vehicles', 'Sign Off Status' = "Unresolved"),ID= Value(SearchWeeklyFailure.Text))
    )

    Sik

  • Kmayes Profile Picture
    792 on at

    @v-siky-msft 

    Amazing thank you very much 🙂

     

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 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard