Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Alice08
Helper II
Helper II

I am trying to pull tables from dataverse, but the foreign key is not showing the correct values.

I am trying to pull tables from dataverse, but the foreign key is not showing the correct values in power bi desktop.

when i load the data it shows values like in below snip -

Alice08_0-1705388469950.png

 

where in in the dataverse the values are there as below-

 

Alice08_1-1705388518014.png

 

1 ACCEPTED SOLUTION
v-yifanw-msft
Community Support
Community Support

Hi @Alice08 ,

 

Depending on the problem you are having, we will need more information from you. Specifically, it would be helpful to know the following:

  • How are you currently connecting to Dataverse from Power BI Desktop and are you using the built-in Dataverse connector?
  • Are any specific error messages displayed when trying to load data into Power BI Desktop?
  • Have you attempted to set up relationships in the model view of Power BI Desktop to reflect foreign key associations, and if so, what steps did you take?

With more details on the above points, I will be in a better position to provide you with a concrete solution. In the meantime, you can follow the steps below to ensure that foreign key values are imported correctly:

  1. Use Power BI Desktop to connect to Dataverse via the built-in connector. make sure you have the correct environment URL and credentials.
  2. Ensure that both the primary table and the related table with the foreign key reference are selected during the import process.
  3. In the Model view of Power BI Desktop. double-check that the relationships between the tables are set up correctly. Primary key columns in one table should be linked to foreign key columns in related tables.

If the above steps do not help, please provide details at your earliest so that we can continue to resolve your issue.

 

Best Regards,

Ada Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yifanw-msft
Community Support
Community Support

Hi @Alice08 ,

 

Depending on the problem you are having, we will need more information from you. Specifically, it would be helpful to know the following:

  • How are you currently connecting to Dataverse from Power BI Desktop and are you using the built-in Dataverse connector?
  • Are any specific error messages displayed when trying to load data into Power BI Desktop?
  • Have you attempted to set up relationships in the model view of Power BI Desktop to reflect foreign key associations, and if so, what steps did you take?

With more details on the above points, I will be in a better position to provide you with a concrete solution. In the meantime, you can follow the steps below to ensure that foreign key values are imported correctly:

  1. Use Power BI Desktop to connect to Dataverse via the built-in connector. make sure you have the correct environment URL and credentials.
  2. Ensure that both the primary table and the related table with the foreign key reference are selected during the import process.
  3. In the Model view of Power BI Desktop. double-check that the relationships between the tables are set up correctly. Primary key columns in one table should be linked to foreign key columns in related tables.

If the above steps do not help, please provide details at your earliest so that we can continue to resolve your issue.

 

Best Regards,

Ada Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Alice08 , Open Power query and check the data type is text in the very first step of change type. if not correct that and try

I have verified this thing, the data type is text only at the power query editor as well.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.