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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

power Query

I would need inputs in desiging of the data model. i have three tables (A,B,C,D)

 

Joining by Shipto ID between A,B,C and D

A join with D (Ship to ID)

B Join D (Ship to ID)

C Join D (Ship ID)

Also B,C Joining with D(New instance table)  Submitted by  ID

B Join D (submitted by ID)

C Join D (Submitted by ID)

 

The problem is need show the data from A,B (Shipto ID) tables along with C (Join with Submitted by),but its  not giving the exact results when I pull the data from these three tables in power BI report.

 

what is the best apparoch to make efficent relationship between these 4 tables (A,B,C,D). Compoiste joining is not allowing.

each table has its own data ,so we can't combined the data between these 4 tables.

 

 

 

 

 

1 ACCEPTED SOLUTION
v-xicai
Community Support
Community Support

Hi   @Anonymous ,

 

Does that make sense? If so, kindly mark the proper reply as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.

 

Best regards

Amy

View solution in original post

4 REPLIES 4
v-xicai
Community Support
Community Support

Hi   @Anonymous ,

 

Does that make sense? If so, kindly mark the proper reply as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.

 

Best regards

Amy

v-xicai
Community Support
Community Support

Hi @Anonymous ,

 

You may create active relationships between A,B,C and D on Ship to ID with ticking the option "Make this relationship active", and create inactive relationships between B, C and D on Submitted by ID without ticking the option.

Untitled picture.png

Then if you need to use the inactive relationships for field Submitted by ID, you can create measure using USERELATIONSHIP function like DAX below.

 

Measure1= CALCULATE(COUNT(D[Submitted by ID]),USERELATIONSHIP(B[Submitted by ID], D[Submitted by ID]))

 

Best Regards,

Amy

 

Community Support Team _ Amy

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

@Anonymous , Did not get it completely. But you can create a concatenated column in both tables and join it

New column like

New key = [Column1] &"-" &[Column2] 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

How does it work? which table to which table the join should make? how it effect on end results.

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors