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

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

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
    Re: unable to filter on a column in a collection

    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
    Re: unable to filter on a column in a collection

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 652 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 410 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 236

Last 30 days Overall leaderboard