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

Get items from sharepoint with column data only

(0) ShareShare
ReportReport
Posted on by

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:
I have the same question (0)
  • Pstork1 Profile Picture
    68,697 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
    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
    68,697 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
    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
    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
    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
    68,697 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

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard