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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Mike282
Helper III
Helper III

Linking/Setting up relationship between Activities to Opportunities/Accounts/Contacts etc.

Hi All

 

I've got a question about the imported data tables from Dynamics 365. I want to create a entity link in Power BI between Activities and other entity tables like opportunities, accounts etc. What I want to do is setup a report visual where you can filter activities by opportunity name, account or contact but I can't determine what field links with the other entities. I noted that the activitypointer entity table has a field called regardingobjectid_value. I would assume this is the connector between activities and the other associated entity table. With that said, Power BI isn't detecting the relationhsip between them.

 

Any help would be greatly appreciated.

 

image.png

1 REPLY 1
Anonymous
Not applicable

Hi @Mike282,

 

I would encourage you to read this article: https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-create-and-manage-relationships/. 

 

If you are working with Power BI Desktop app make sure that the automatic detection of relationships is enabled in File - Options and settings - Options:

 

Relationship options in Power BI DesktopRelationship options in Power BI Desktop

Power BI can autodetect a relationship automatically if two columns in different tables are of the same type, they have the same names and their contents match. If Power BI Desktop cannot determine with a high-level of confidence there is a match, it will not automatically create the relationship. In that case you will have to create a relationship manually.

 

Hope that helps.

 

Best Regards,
Pawel

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.