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 first item of a sh...
Power Automate
Unanswered

Get first item of a sharepointlist

(0) ShareShare
ReportReport
Posted on by 155

Hello, 

 

I can't figure out to get only the first item . How can you filter the part " Get items"? 

Categories:
I have the same question (0)
  • PrasadAthalye Profile Picture
    on at

    Try following expression

     

    first(body('Get_items')?['Value'])?['FileID']

     

    Please mark this as Answer if this resolves your problem. Thank You.

  • Verified answer
    v-alzhan-msft Profile Picture
    on at

    Hi @Stijn007 ,

     

    You could set the Top Count column to 1 if you only want to get the first item with the Get items action.

    1.png

     

     

    Best Regards,

    Alice

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

  • Stijn007 Profile Picture
    155 on at

    Hello,

     

    the get items part always gives me a strange error:

    Shared_sharepointonline doesn't exist. De possibil parameters are shared_teams

    Stijn007_0-1597387493991.png

     

  • v-alzhan-msft Profile Picture
    on at

    Hi @Stijn007 ,

     

    Please make sure that you have created valid connection to the SharePoint.

     

    Best Regards,

    Alice

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Stijn007 Profile Picture
    155 on at

    I recreated my flow from scrath and now it works with using 1 in the top count section. 

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard