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 Automate / Get items from sharepo...
Power Automate
Answered

Get items from sharepoint with column data only

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi

I have a simple list (single column) I am extracting from sharepoint and putting into an array variable in Flow.  I've noticed that each item is extracted as a record with a bunch of data I dont need.  Such as author information, created/modified etc, I only want the Title information.  How do I stop it extracting all this unnecessary information?

 

thanks!

Dan

Categories:
  • Pstork1 Profile Picture
    69,661 Most Valuable Professional on at

    Use DropColumns() to remove the columns you don't want.  You can also use a view to restrict some of the additional columns

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-table-shaping

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    How do i use DropColumns - presumably I put it in the filter query part of the sharepoint 'get items'.  I type DropColumns in and its not recognised.  Should it be used as part of a more complex query?

     

    Sorry Im new to flow - trying to figure it out as I go!

     

    thanks

    Dan

  • Pstork1 Profile Picture
    69,661 Most Valuable Professional on at

    Sorry, I need to shift gears. DropColumns() is one of those functions that only works in PowerApps.  For Flow you can limit columns somewhat by supplying a View from the list to limit which column values are included.  But you'll probably need to build your array using a Loop and append the field you want to the array as you loop through the items.

  • jwhite Profile Picture
    191 on at

    Hi @Anonymous,

    I had a similar experience and this post helped me solve it: Re: Selecting columns from array

    Let me know if this helps you or if you have any difficulties!

     

  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @Anonymous ,

     

    Please try to use the following configuration.

    You could use Select action to extract the specified column.

    Or you could use variable to extract field values.

    Image reference:

    148.PNG

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks everyone, managed it!  Im marking v-baco-msft's post as the solution but all the info provided was really helpful!

     

    cheers

    Dan

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi

    Sorry I know i've marked this as answered but I have a further question.  I've managed to strip out all the data i dont want and I end up with an array of the format:

     

    {"Title": "string1"},{"Title": "string2"},{"Title": "string3"}

     

    I feel like im being stupid but ideally i dont want the "Titles" in there either.  I just want the string data, is there an easy way of doing this, I guess i could take each element out and do a split on ":" and extract the second half?  Is there a better way?

     

    thanks

    Dan

  • zYx Profile Picture
    78 on at

    @Anonymous did you manage to find a way to do this quickly?

  • Pstork1 Profile Picture
    69,661 Most Valuable Professional on at

    If you want them in a string without the "Title": Then change the Append to an Array variable to Append to a String variable and just input the Title dynamic content and any delimiter punctuation you want.

  • Sergey Profile Picture
    2 on at

    What is the "value" value and what is "Title" for? Is the "value" the name of the column or its value? And no way to add name to "Append array to variable".

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 229 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 223 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard