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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter Data by SharePo...
Power Apps
Unanswered

Filter Data by SharePoint Title field by two text values

(0) ShareShare
ReportReport
Posted on by

My filter worked great until I needed to add a second acceptable text value to the Title field how do I fix that filter line to ensure items with either of those two title values pull in?

 

anicholls_1-1651107520932.png

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,040 Most Valuable Professional on at

    Hi @Anonymous ,

    Can you please post the entire code you have there in Text.

  • Verified answer
    AsanKani Profile Picture
    710 on at

    Hi @Anonymous 
    Update you code like below after your Filter('DataSource',

     

    (Title = "FirstText" || Title = "Second Text")

     

    AsanKani_0-1651122282922.png

     

  • Community Power Platform Member Profile Picture
    on at

     that doesn't work either @AsanKani 

     

    @WarrenBelz here is my code, i think this is cuasing me issues when I do hard resets on these filters in my editable gallery too as it totally clears out my collection and never has data to reload once i do (Re: Gallery Items not showing after edit, patch, r... - Power Platform Community (microsoft.com)) i thought i had this fixed but just ran into it again today, here is my code for this item that relates to that one as well:

     

    anicholls_0-1651127368002.png

     

  • Community Power Platform Member Profile Picture
    on at

    I take that back I see what i missed you were right @AsanKani 

     

    If either of you can help on the other ticket i refrenced above it would be much appreciated, i'm very close to wrapping up my project thanks for the help

     

    anicholls_1-1651127483564.png

     

  • AsanKani Profile Picture
    710 on at

    @Anonymous  it's ok..
    You must make () in Title otherwise some case your formula work wrong.
    because your are using next of title &&
    So, one case it's consider like this  (Title ="FirstText") || (Title ="SecondText" &&.......). So, Your hard effort will be go wrong, So, make () in Title or condition.

    If the content was useful in other ways or you liked the post and want to show some appreciation, please give it a Thumbs Up.


  • WarrenBelz Profile Picture
    153,040 Most Valuable Professional on at

    @Anonymous ,

    I am glad you got it sorted, but please remember to post code as Text (not an image)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard