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 : 9rkKk8B5+0tOVOjI6GcXLf
Power Automate - Building Flows
Unanswered

Update Dataverse Lookup column using data from another column in the same table

Like (0) ShareShare
ReportReport
Posted on 14 Nov 2022 18:01:58 by 578

I have a  Dataverse table that has two columns (State and Estado). When the data was imported from SharePoint, the State column had the State Code followed by State Name (e.g. 22 - Louisiana). Now the Estado column is a lookup column where I need to remove the code and show only the State name. I really can't figure out how just copy the data from State to Estado using split. The split function is not the issue, using last(split(items('Apply_to_each')?['cr39c_state'], ' - ')) returns what I need. ). These are the steps I'm following. 

 

1. List Rows from the table

2. Apply to each of the List Rows values

emfuentes27_0-1668446679251.png

3. Update a row using the an unique identifier: items('Apply_to_each')?['cr39c_name'].

 

Now is when the issues start. When I'm updating the Estado column. I'm not sure if I should refer to the column within the table that contains the State with the code (State) or if I have to refer to the lookup table (States):

emfuentes27_2-1668448341960.png

 

I seen some info only about EntityName, but I'm not sure what entity I'm supposed to be referring to. In the image above I used the entity name for the States, but I just get an error:

 

{
 "error": {
 "code": "0x8006088a",
 "message": "Bad Request - Error in query syntax."
 }
}

 

 

Any ideas here?

 

Thanks in advance.

I have the same question (0)

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…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 664 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 400 Moderator

#3
chiaraalina Profile Picture

chiaraalina 290

Last 30 days Overall leaderboard
Loading complete