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 / Importing data into da...
Power Automate
Unanswered

Importing data into dataverse, then writing to lookup column in dataverse

(0) ShareShare
ReportReport
Posted on by 10

I'm at my whits ends, can someone please help?

I have built a power automate flow which is triggered when I simply import data into a dataverse table. This triggers a follow on action where multiple single records are created in another dataverse table from the import. Some of the columns in the second dataverse table that contains the new records are lookup columns. I'm unable to make the lookup columns populate with the data from the table they are looked up from. These are the steps I have in my flow:

katja_thomson_1-1714744454007.png

katja_thomson_2-1714744497804.png

I want to update the rows Academic Plan (P1), P2 and P3 with the value that is looked up from a table named Program Requirements from the previous step where I'm getting the row by ID.

Any help would be appreciated. I'm constantly getting this error: Bad Request - Error in query syntax. And I really don't know what I'm doing wrong here. The flow works perfectly when I'm not trying to populate the look-up columns, so it must have something to do with this. And yes, I have watched Shane's awesome video, and I'm doing exactly as he explains in there, but it is still not working.

Thank you so much!

 

 

Categories:
  • TaijuHataya Profile Picture
    4 on at

    Hi There,


    Has this problem been solved? I am facing the exact same situation. Yes have seen the great Shane's video, did exactly as it explain and get "error": {"code": "0x0","message": "Bad Request - Error in query syntax.").  

     

    There are syntax of without / in front in other HP. Did tried that does not work.

     

    Please help if you have any information.

  • KThom Profile Picture
    10 on at

    I've got it to work; turns out I missed two steps: "List rows" and "compose". However, it is only writing the first item that it finds in the list rows action into the new row. I actually need it to go through the list of items in "list rows" and find the one that is equal to one in "get a row by ID" and then write that value back into the "add a new row." So I'm still trying...

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 355

#2
11manish Profile Picture

11manish 336 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard