Data Model Relationships

Krash7000

New Member
Joined
Mar 10, 2015
Messages
19
Hi All,

I'm have created a data model through power query, and I have created relationships to several other tables to look up values. I just can't work out how I would go about finding any 'missing lookups' as such.

If I had merged the queries I could have filtered on the column to find the blanks, however as it's just a relationship I can't work out the way to identify any errors.

Is there a way to do this?
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
I normally would write a separate audit query in PQ.
create a new query
dim table first, fact table second, join type “all items on right, not in left”. Maybe called a left anti join - cant remember.
load to a table in Excel

alternatively, put both key columns in a pivot, plus count rows of the fact key in values, and filter on dim key = blank.
 
Upvote 0
Solution
Thanks! I tested and both versions worked great (Although I believe it was right anti join - Just for anyone else that tries it)

I will go with the pivot version as it works nice and quickly, but good to know both ways. Thanks again.
 
Upvote 0

Forum statistics

Threads
1,223,671
Messages
6,173,737
Members
452,532
Latest member
cnetctg

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top