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 Apps / Dataflows - Lookup Col...
Power Apps
Unanswered

Dataflows - Lookup Column not Populating

(0) ShareShare
ReportReport
Posted on by 439

Hi everyone,

 

I'm looking for some help with Dataflows (Create and use dataflows in Power Apps - Power Apps | Microsoft Learn).

 

We have set up a Dataflow in our Test environment to ingress data from the Dev environment. The data source in Dev is Dataverse, and the data target in Test is also Dataverse. We have built the tables and relationships in Dev and performed a manual export and import to Test (normally, this would be done using Git Hub Actions ALM but that is currently not working). IE the same tables, schema, etc exist in Dev and in Test.

 

We have three tables:

Campus

Campus Zones

Buildings

 

Buildings has a Lookup Column to Campus. Buildings also has a Lookup Column to Campus Zones.

 

We ran a Dataflow to bring in the data from Dev to Test for the Campus table. This worked perfectly. We then ran a Dataflow to bring in data from Campus Zones (from Dev to Test) - again, this worked perfectly.

 

We then ran the Dataflow to bring in the data from Dev to Test for the Buildings table. It populated but the Lookup columns for Campus and Campus Data are both blank. No error messages/outputs, and the Publish and Refresh status for the Dataflow both have green ticks.

 

I am not sure what the issue is here. I tried waiting 20 minutes between running the Dataflows for Campus and Campus Zone, versus Building. It made no difference. I checked the GUIDS in Dev and in Test and they match. In Test, if I was to create a record in the Buildings Table, the Lookup Columns are working fine; IE the correct options are selectable from the drop down from both the Campus and Campus Zone tables.

 

So if I was creating manual records, no problem, but I want to bring in the correct entry (from Dev to Test) for each Lookup field (Campus and Campus Zone) in the Building table.

I saw this note:

"When importing relationships, remember that the parent table dataflow needs to be imported before the child ones. The data for the child dataflow will require data to be in the parent table for it to correctly map, otherwise it might throw an error."

(Source: a slightly different page, but related: Migrate data between Microsoft Dataverse environments using the dataflows OData connector - Power Apps | Microsoft Learn).

 

The relationships are:

Campus [1] -> Building [Many]

Campus Zones [1] -> Building [Many]

 

Therefore, to my understanding, I followed the correct approach by ensuring the Parent data (Campus and Campus Zone) was in place before running the Dataflow for the Child data (Building) as Building needs to "Lookup" the fields for Campus and Campus Zone as the Parent tables.

 

I'm hoping this might just be a case of having to give the Dataflows a larger gulf of time between running, but I doubt this is the problem. Any help on this would be much appreciated. 

 

Many thanks!

I have the same question (0)
  • erofee Profile Picture
    75 on at

    have you run the dataflows multiple times?

     

    This is just a hunch.  I tried the same thing a few months ago, but had to abandon the idea because it didn't work (as you have experienced) and I didn't have the time to troubleshoot.

     

    Afterwards though, I thought about how the relationships setup in Dataverse when you create a new record (almost simultaneously), and wondered if running multiple passes of the data flows would 'fix' the relationships.

  • pp365 Profile Picture
    439 on at

    Hi @Brendan1 , thanks for your note. Yes, I tried running the Dataflows multiple times, also I left the child tables at rest for over 12 hours in case it was an issue with the parent table relationship resolving but not pulling the child data given the data had not been in place for a sufficient time.

     

    I have to confess I posted this question in the general 'Building Power Apps' forum (Re: Dataflows: Lookup Column Not Populating - Power Platform Community (microsoft.com)) as I find that forum gets a lot more views that the Dataverse one. I've had a very useful response in that thread and will be aiming to attempt the steps featured there shortly. I'll post the outcome on both threads.

     

    Many thanks!

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard