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 / unable to filter on a ...
Power Apps
Unanswered

unable to filter on a column in a collection

(0) ShareShare
ReportReport
Posted on by 101

Hi all.

 

I have been struggling with this for a couple of days now and i can't seam to find a solution. 

I have a collection from a SharePoint document library, i am trying to filter this as for some reason some of the files that are in a folder and now viewing on the app outside of the folder. (if you know why this is and there is another way to sort this please let me know) 

But the solution i thought would be best would be to filter the gallery and i thought i had found the perfect column within the collection:

 

JEVANSAP_0-1700731340263.png

I want to filter using the {path} column in the collection as you can see above, however whenever i go to write the formula, that works for other columns within the collection, it seams as though the column is not recognized. 

 

Filter(varEmtem, Name = "Email Templates/")

This formula is ok, and has no errors, 

Filter(varEmtem, Path = "Email Templates/")

However this formula says the error "incompatible types for comparison. these types can't be compared: error, Text"

 

Any help would be much appreciated. 

Categories:
I have the same question (0)
  • Verified answer
    v-mengmli-msft Profile Picture
    on at

    Hi @JEVANSAP ,

     

    Please try to replace Path with 'Folder path' in your code:

     

    Filter(varEmtem, 'Folder path' = "Email Templates/")

     

     

    Best regards,

    Rimmon

  • JEVANSAP Profile Picture
    101 on at

    That worked 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard