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 / Help with Does Not Con...
Power Apps
Answered

Help with Does Not Contain in Filter Query

(0) ShareShare
ReportReport
Posted on by 378

Looking to pull only ID's that do not have a "." in them.  I have a column in which subtasks generate a Custom ID  1.1, 1.2 etc

I came up with this but it doesn't work in my filter

 

Filter('SP List',Custom_ID=SharePointIntegration.Selected.Custom_ID,!("." in Custom_ID))

Categories:
I have the same question (0)
  • Ricardo_Costa Profile Picture
    150 on at

    you can try only this part

    Filter('SP List',!("." in Custom_ID))

  • Verified answer
    TheRobRush Profile Picture
    11,128 Moderator on at

    If you are looking to filter it by two things, like in your example you should write it like this

     

     

    Filter('SP List', And(Custom_ID=SharePointIntegration.Selected.Custom_ID, Not("." in Custom_ID)))

     

     

    Since your Datasource is a SPList though, Not and In are NOT DELEGABLE which means if your list grows over 2,000 items your app will not be able to handle the filter anymore.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard