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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
maximus1
Frequent Visitor

Still missing data after creating relationship between two tables

Hello Everyone

 

I have two tables Contractor Expense and GVC Expense. I have created a relationship between them.  My data table pulls all the information correctly from the GVC Expense data, but it is missing some information from the Contractor Expense data.

 

I know I am missing job code 11 ( I created it in excel first). This, I believe is because job code 11 ONLY shows up in the Contractor Expense data but not in the GVC Expense data. How can I get my table to pull ALL the info from both tables?

 

I've created  the following relationship:

 

GVC Expense: Cardinality - Many to one; Cross filter direction - Both

Contractor Expense -  Many to one; Cross filter director - Single.

 

Link to data:

https://www.dropbox.com/s/h4l0navz5cci1sf/Labor%20Expense.pbix?dl=0

 

 

Job Expense.PNGrelationship table.PNG

1 ACCEPTED SOLUTION

Hi @maximus1,

Because the relationship between 'GVC Expense' and 'Contractor Expense' is n:n, so the code 11 is missing. Please try use the [Job code query] in 'Job code' table, other fields come from ' Contractor Expense', and check if it works fine.

For merging two tables to one in Query Editor, please review the detailed steps here

Best Regards,
Angelia

View solution in original post

5 REPLIES 5
maximus1
Frequent Visitor

power bi 6.PNG

 

This is what my total invoice column SHOULD look like, but when I combine it with my other table. This one particular item, job code 11, does not show up.

Hi @maximus1,

Because the relationship between 'GVC Expense' and 'Contractor Expense' is n:n, so the code 11 is missing. Please try use the [Job code query] in 'Job code' table, other fields come from ' Contractor Expense', and check if it works fine.

For merging two tables to one in Query Editor, please review the detailed steps here

Best Regards,
Angelia

Thank you, Angelia!

 

I really appreciate the help! I believe that solved my problem!

Hi,

 

You can use "MergeQueries" (merge 2 tables into1) choose table with more data as main. In this can you'll receive one big table with all mathced data.

 

Suggest to watch some tutorial before using this feature.

 

maximus1
Frequent Visitor

Thank you, bsas

 

I will look into merge queries

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.