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 :
Power Automate - Building Flows
Answered

How to get list count by category and populate another list with these values

(0) ShareShare
ReportReport
Posted on by 7

Hi ,

I have a list List-A which has category column with values (-5, 'Select','5), What I needed is to populate another list List-B with values 

Title                    Count

Total Count        25 (Total List-A Count)

Completed         10 (With Positive values)

In-Complete        5 (With negative values)

Pending               5 (With 'Select' Values)

 

How to achieve that in one flow?

 

Regards,

Abhijeet

I have the same question (0)
  • Verified answer
    PrasadAthalye Profile Picture
    on at
    Re: How to get list count by category and populate another list with these values

    You can follow these steps...

     

    • Use Get Items to query all items.
    • Use Compose One and Take count of Get Items Output Value Collection for Total Count
    • Use Filter array and filter category is equal to -5.
    • Use Compose 2 and Take count of Filter Array Output Collection for Completed Count
    • Similarly add Filter Array and Compose 3 and 4 and collect counts.
    • Finally Create new List Items using these Compose objects.

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 691 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 431 Moderator

#3
developerAJ Profile Picture

developerAJ 266

Last 30 days Overall leaderboard