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 Attachment Colu...
Power Apps
Answered

Filter Attachment Column based on Text String

(0) ShareShare
ReportReport
Posted on by 58

Hi All,

 

I have Attachment Column in SP which is storing multiple attachments with tagged name. I have attachments name coming properly into my SharePoint but now I want to display back attachments in 3 different columns. I can do that using First, last,..etc.( for example- First(ThisItem.Attachments).DisplayName 

 

But, user may insert attachments in different order, and this will not work. So, I wanted to display values in each column based on Filter String. Can anyone Suggest me the Syntax? Not able to figure it out.

 

Something like filter attachments where attachment name startswith docments or Excel Inventory or Import Packaging Slip 

Jay50_0-1682485198483.pngJay50_1-1682485220808.png

 

Jay50_2-1682485319186.png

 

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

    Hi @Jay50 ,

    An example

    LookUp(
     ThisItem.Attachments,
     StartsWith(
     DisplayName,
     "Excel"
     )
    ).DisplayName

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Jay50 Profile Picture
    58 on at

    Jay50_0-1682490797503.png

    Hi @WarrenBelz ,

     

    Thanks for your response,

     

    I tried your code but not working. I have managed to get string in my column as per above screenshot.

     

    I sued this code:- Text(Concat(ThisItem.Attachments,DisplayName,";"))

     

    Now I want to find string that starts with ExceInventory to show in this column.

     

    Can you please suggest how to do it ?

     

     

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

    @Jay50 ,

    Please see amended post

  • Jay50 Profile Picture
    58 on at

    Perfect.

     

    Thank you so much for your help @WarrenBelz . Marked this as Solution now.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard