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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Update List A with a d...
Power Automate
Answered

Update List A with a distinct count of a specific column in List B, based on matching columns in List A & List B

(0) ShareShare
ReportReport
Posted on by

I have 2 SharePoint Lists, Event Log (List A) and Event Participants (List B).

List A has an Event ID column (A1) and a column for the distinct count of Organizations which participated (A2).

List B is a list of participants with a Lookup Column (B1) that matches the Event ID (A1) in List A. The organization is denoted in column B2.

 

I want a distinct count of B2 from List B for each Event ID (B1). I then want a flow to automatically update List A, column A2 with that number, based on the Event ID (A1). In other words:

 

If A1=B1, then update A2 with the distinct count of column B2. Does that make sense?

 

So far, I have a flow built for a distinct count of B2 in list B based on instructions in this post, but the output is a distinct count of the entire list, and not by the Event IDs. 

Categories:
I have the same question (0)
  • Verified answer
    v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @KWhite,

     

    You could use the filter query to find out these items in List B that B1 ID equals to A1, for example:

    B1 eq 'dynamic content A1'

    Screenshot 2021-01-26 145408.jpg

     

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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard