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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
KarenM2609
New Member

Multiple direct queries, relationships and tables

Hi Everyone!

 

I am relatively new to PowerBI, and while I have found these forums very useful I can't seem to find a solution for what I am trying to do. This could be because I don't know the right terms to look for, so if there is something already existing happy to be referred to that. 

 

I am trying to create a report based on a DirectQuery from Dynamics. I am pulling three separate direct query datasets, I can't give the actual data due to privacy but i've created fake data to illustrate:

 

Account  Contact   Connection  
Entity NameEntity ID Entity NameFull NameEmail Connection FromConnection ToRole
KFC1 KFCKyliekylie@kfc  KFCKylie CEO
Macca's2 KFCKanekane@kfc  KFCKane EA
Macca's2 Macca'sJenniferjennifer@maccas  Macca'sJenniferCEO
Macca's2 Macca'sJamesjames@maccas Macca'sJamesEA
Macca's2 Macca'sJuliejulie@maccas Macca'sJulieVP
Hungry Jacks3 Hungry JacksSarahsarah@hj Hungry JacksSarahCEO
Hungry Jacks3 Hungry JacksSallysally@hj Hungry JacksSallyVP

 

There are two relationships active:

 

1. Account[Entity Name] to Connection[Connection From] - 1 (Account) to Many Relationship (Connection)

2. Contact [Full Name] to Connection[Connection To] - 1 (Contact) to Many Relationship (Connection)

 

Currently when i put together a table in PowerBI I get a column like the above, where the Entity Name is duplicated for every person and role type. However I am trying to prepare a table that will show a unique list of Entities, with data from both other datasets as follows:

 

Entity NameEntity IDCEO Full NameCEO EmailVP Full NameVP EmailEA Full NameEA Email
KFC1Kyliekylie@kfc  Kanekane@kfc
Macca's2Jenniferjennifer@maccas Juliejulie@maccasJamesjames@maccas
Hungry Jacks3Sarahsarah@hjSarahsarah@hj  


Any help would be greatly

2 REPLIES 2
v-veshwara-msft
Community Support
Community Support

Hi @KarenM2609 ,

Just checking in to see if you query is resolved. If so, kindly consider sharing the solution here to help others with similar queries. If its still unresolved, could you share pbix file with sample data and also the expected result.

Thank you.

Ashish_Mathur
Super User
Super User

Hi,

Sorry but am not clear about what youw want.  Share the download link of the PBi file with that fake data and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors