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 / Update List1 based on ...
Power Automate
Answered

Update List1 based on on combination of values in List2

(0) ShareShare
ReportReport
Posted on by 4

Hello,

I have 2 lists - List1 and List2.

In List1 I have columns - "Picklist" and "Delivery time"

In List2 I have columns "Picklist" and "Status".  In List2, there are several records for the same Picklist with different Status, for example:

Picklist     Status    Date

X2101      10          13.1.2023 1:43

X2101      20          13.1.2023 1:58

X2101      40          13.1.2023 3:01

etc...

What I need to achieve: If in List2 Status = 40, get the date and time of creation of that item, search the Picklist in List1 and write the date and time to column "Delivery Time".

 

So if we will use the example above: If there exists record with Picklist = X2101 and Status = 40 in List2, search Picklist X2101 in List1 and write information "13.1.2023 3:01" into column "Delivery time"

 

Is this achievable in some easy way?

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

    Hi @mdrabek ,

    I made a template for your reference

    Here is list 1

    vchengfenmsft_1-1673943765588.png

    Here is list2

    vchengfenmsft_5-1673944150111.png

    Here is flow:

    Fired when a record is created

    Determine whether the status column of the record is 40

    vchengfenmsft_10-1673945134554.png

    Use the filter query to compare whether the Picklists of list2 and list1 are consistent, and filter out the items of list1 that meet the conditions.

     

    Determine whether the filtering result is greater than 1

    vchengfenmsft_7-1673944336954.png

    If yes, update the Delivery time of the item

    vchengfenmsft_4-1673944129210.png

    Here is result:

    add a record,status =40

    vchengfenmsft_11-1673945146411.png

    vchengfenmsft_12-1673945159617.png

     

    Best Regards

    Cheng Feng

  • mdrabek Profile Picture
    4 on at

    Thanks a lot - that is what I was looking for!

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard