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

Community site session details

Session Id : B5m6XQT7GVlWgQHdSLlUQN
Power Automate - General Discussion
Answered

Count how many items has created in Sharepoint List

Like (0) ShareShare
ReportReport
Posted on 9 Feb 2023 17:16:10 by 516

Hey Community, 

 

How do you count the number of items that has been created by a "Create Item" in SharePoint action?

 

Scenario: I have a Power Automate step that IF the EmployeeID is already in the SharePoint list (tblEmployee) SKIP the create new and IF the EmployeeID is NOT in the SharePoint List (tblEmployee) then CREATE ITEM in SharePoint table. Now that is working fine.. my problem is i wanted to check or how many new records has been created IF the EmployeeID is not in the table.

 

How do i do that? I used the below code in a compose action but it has error.

 

 

length(outputs('Create_item')?['body'])

 

 

error2.PNG

 

any help is appreciated. 

 

Thanks

  • brittany Profile Picture
    11 on 21 Nov 2023 at 13:02:26
    Re: Count how many items has created in Sharepoint List

    I'm interested in seeing your solution for counting items but this thread doesn't seem to show it and the link to "View solution in original post" just takes me to the same thread. Would you mind sharing it again? I am trying to get a count of items from one List to increment up each time an item type is created in the shown value of another List. 

  • Verified answer
    echodapogi Profile Picture
    516 on 10 Feb 2023 at 14:12:18
    Re: Count how many items has created in Sharepoint List

    I managed to solve this in a different way. Your idea helped too. thanks

  • Chriddle Profile Picture
    7,932 Super User 2025 Season 2 on 10 Feb 2023 at 08:05:31
    Re: Count how many items has created in Sharepoint List

    What is the problem?

  • echodapogi Profile Picture
    516 on 09 Feb 2023 at 17:50:54
    Re: Count how many items has created in Sharepoint List

    i did but i cannot make it work

  • Chriddle Profile Picture
    7,932 Super User 2025 Season 2 on 09 Feb 2023 at 17:34:41
    Re: Count how many items has created in Sharepoint List

    Initialize an Integer variable and increment it whenever you add an item.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete