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 COLUMN LOOKUP, ...
Power Automate
Answered

UPDATE COLUMN LOOKUP, DATAVERSE

(1) ShareShare
ReportReport
Posted on by 296
Hi,
 
I have two lists or tables in Dataverse.
How can I make a flow to update the rows of the "COD" Column?
The "COD" column is of type LookUp and is related to the "CONCAT ID" column.
In the new flow, I want to copy the data from the "FACTURE" column to "COD", as long as the values ​​from the "FACTURE" column exist in the "CONCAT ID" column
 
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,969 Moderator on at
    Hi
     
    Just to make sure I understand, you want to update the lookup in WF, so that, for instance your first line Fracture is BB, in CXP, line 2 (ID_CONCAT) = BB, so that it points to the correct record in CXP.
     
    Just want to make sure thats accurate.
     
    As a very simple walkthrough (and its simple due to needing my information) and questions
     
    1. Is this a 1 time activity, where you have 2 tables and you want to go through and Link the LookUp records and then going forward it will be set with some built I process or are you looking for just a "how would I do this" type thing?

    It sounds more like a Manual (trigger it once kind of thing).
     
    So a question
    1. What type of field is ID_CONCAT a string? and is FRACTURE a string data type as well?
     
    Ok now let's give you one way to do it, that is a 1 time run. You could do it more than once, but this is primarily a way to set the lookups if its a new table initially not something to run all the time.
     
    Then in the future, you could setup a Flow, so that anytime a record is created in WF, it would automatically attempt to find and attribute the COD lookup which I can show you as well... OK brb then Ill walk through it.
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,969 Moderator on at
    OK here is a full walk through
     
    1. I created 2 tables in my Dataverse CXP and WF
     
    They have the fields you have 
     
    Now here is the flow steps.
     
    1. Manual Run
    2. List all rows in WF where COD eq null (so it filters it so you aren't looping rows you dont need)
    3. Loop through all the rows
    3b. Do a lookup on CXP where the FACTURE eq ID_CONCAT
    3c. Condition -- check if it found a row
    ------Update the WF row with the Lookup to CXP
     
    Here is the flow all filled out and there is the answer you need.
    When I run it.. you can see the LookUp field filled in. Now by default, it uses the Primary Column (which is Name in my example, that I dont show in the pictures), so it looks like I am using the ID_CONCAT value, I am not. When I populated Name I simply used the ID_CONCAT value since I had nothing else to use, so don't be confused by that.
     

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
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard