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

Announcements

News and Announcements icon
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
    155,415 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
    155,415 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard