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 / Trouble with Dataflow
Power Apps
Unanswered

Trouble with Dataflow

(0) ShareShare
ReportReport
Posted on by 34

All,

 

I'm having an issue importing data using dataflows to an already existing table. The issue is one of the columns in the Excel document is supposed to correspond with a choice field, which I believe has unique IDs, at least that's the only thing I can think of that is preventing the import. Example and error message below: *NOTE* It failed for all territories, not just US South West. 

swebb111_0-1669825935604.png

swebb111_1-1669827370239.png

 

I have the same question (0)
  • AhmedSalih Profile Picture
    6,678 Moderator on at

    Hello, @swebb111, you need to check the Choices the is linked to the column Territory Name and make sure that they match what you have in Excel. Edit the column and then check the choices. 

     

     

    If my reply helped you, please give a 👍 , & if it solved your issue, please 👍 & Accept it as the Solution to help other community members find it more.


    I am primarily available on weekdays from 6-10 PM CT and 5-10 PM CT on weekends.


    Visit my Blog: www.powerplatformplace.com


     

     

  • smw356239 Profile Picture
    34 on at

    @AhmedSalih The Excel document matches the correct name. The table I'm trying to import to for the territory name is a lookup field pointing to another table, the territory table, that has all of our territories listed there. I don't know if that information is helpful. 

  • AhmedSalih Profile Picture
    6,678 Moderator on at

    @swebb111, use the Merge queries in the Power Query in the Dataflow. Make sure that you add both tables, the the territory table and the table that you are trying to import. Both tables should be in the same Excel workbook (tabs/sheets). Then you add them to the power query. 

    Your territory table is the ONE Side of the relationship, and the other table (the one you are trying to import to Dataverse table) is the Many side. You will do a right join. That will create a new column with nested table values: Click the Expand Icon and only select the Territory value. This will create a text column with the values<< Use this new column to load the territory column in the Dataverse table.

     

    AhmedSalih_2-1669831706127.png

     

    Merge queries:

    AhmedSalih_0-1669830327116.png

     

     

    If my reply helped you, please give a 👍 , & if it solved your issue, please 👍 & Accept it as the Solution to help other community members find it more.


    I am primarily available on weekdays from 6-10 PM CT and 5-10 PM CT on weekends.


    Visit my Blog: www.powerplatformplace.com


     

     

     

     

     

     

  • smw356239 Profile Picture
    34 on at

    @AhmedSalih I tried that this morning, but I'm not sure that I'm doing it correctly. Let me reiterate the steps I'm trying to take:

    1. Import an Excel document to an existing table in Dynamics 365; column IDs have been altered to match what I have in CRM currently.

    2. TerritoryID correlates to TerritoryCode in the Territory table; the Territory ID in the existing sheet is a string, but I believe this is a choice data type in the Accounts table w/ the relationship between TerritoryID and TerritoryCode

    3. The Merge query function I'm using clears/nulls all values in the table besides the one I've chosen. I don't know if I've chosen the right column to associate? Never the less I tried importing via the dataflow, and it still failed with the same errors.

  • AhmedSalih Profile Picture
    6,678 Moderator on at

    Hello @swebb111, check you inbox to find a time on my calendar so we can meet. 

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard