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 / Count how many items h...
Power Automate
Unanswered

Count how many items has created in Sharepoint List

(0) ShareShare
ReportReport
Posted on 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

Categories:
I have the same question (0)
  • Chriddle Profile Picture
    8,436 Super User 2025 Season 2 on at

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

  • echodapogi Profile Picture
    516 on at

    i did but i cannot make it work

  • Chriddle Profile Picture
    8,436 Super User 2025 Season 2 on at

    What is the problem?

  • Verified answer
    echodapogi Profile Picture
    516 on at

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

  • brittany Profile Picture
    11 on at

    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. 

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