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 / Splitting a sharepoint...
Power Automate
Unanswered

Splitting a sharepoint - Get items in two

(0) ShareShare
ReportReport
Posted on by 14

Because of limitations of other functions later in my flow, specifically sql - insert row (V2), I am looking to get the first half of a sharepoint list, and then the second half later if a condition is met

 

does anyone know how I would best do this?

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @JoshuaAsh,

     

    A Get Items action has a Top Count property which you can set. That might be useful to get only the first half of the flow:

    https://docs.microsoft.com/en-us/connectors/sharepointonline/#get-items

     

    Can you share a link of your setup? I might be able to adapt an example to that.

     

     

  • JoshuaAsh Profile Picture
    14 on at

    Hey thanks for replying

    i found a solution where I use a variable to keep track of how many items i retrieve using "length(outputs('get_items_-_loop')?['body/value'])"

    and then in the 'get items' function I use a filter query of "ID gt @{variables('total')}" so im only getting entries with an ID value greater than the total received. It will only work with lists with continuous ID values but with some tweaking should work with any list

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