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
Allagowf
Frequent Visitor

What is best practice to deal with missing data according to Kimball ?

I have a data base with the following tables:

Customers, Invoices, Salesman, Target.

 

The ones concerned about my question are Customers, Invoices.

There are customersIDs used in the Invoices but doesn't exist in the Customers table.

 

If I used only the customers from Customers Table, my customer dimension would be incomplete.

 

My solution is to append these IDs from Invoices to Customers and fill other columns in the Customers table with nulls.
I don't know if this is the best approche according to Kimball?

 

also if it is a good solution, how I can add accompish it with Power bi desktop ?


Customers table: "generated Data"

 

Customer IDCustomerContactCustomerAddress
70Customer 1Contact 1CustomerAddress 1
76Customer 2Contact 2CustomerAddress 2
84Customer 3Contact 3CustomerAddress 3
18Customer 4Contact 4CustomerAddress 4
10Customer 5Contact 5CustomerAddress 5
86Customer 6Contact 6CustomerAddress 6
79Customer 7Contact 7CustomerAddress 7
56Customer 8Contact 8CustomerAddress 8
45Customer 9Contact 9CustomerAddress 9
82Customer 10Contact 10CustomerAddress 10
37Customer 11Contact 11CustomerAddress 11
23Customer 12Contact 12CustomerAddress 12
74Customer 13Contact 13CustomerAddress 13
21Customer 14Contact 14CustomerAddress 14
61Customer 15Contact 15CustomerAddress 15
67Customer 16Contact 16CustomerAddress 16
88Customer 17Contact 17CustomerAddress 17
14Customer 18Contact 18CustomerAddress 18
51Customer 19Contact 19CustomerAddress 19
50Customer 20Contact 20CustomerAddress 20
80Customer 21Contact 21CustomerAddress 21

 

Invoice table:

 

InvoiceIDProductIDProductCustomerIDSalesman IDInvoice DateAmountCostQuantity
1044061AAA Running Shoe3737-Mar-072685.831933.7990
1045561AAA Running Shoe80121-Apr-07668.75553.7325
1050461AAA Running Shoe8998-Jun-07650.5538.6125
1053061AAA Running Shoe5945-Dec-07554.2448.920
1041861AAA Running Shoe63714-Jan-08388.8321.9316
1071661AAA Running Shoe64220-Apr-08255.7207.1210
1059561AAA Running Shoe7976-Jul-0838972525.26120
1064261AAA Running Shoe73318-Aug-08643.92434.6520
1055061AAA Running Shoe30424-Oct-08282.15207.7610
1072461AAA Running Shoe51126-Oct-08134.1108.625
1073561AAA Running Shoe1776-Nov-08570.46420.0720
1076961AAA Running Shoe1934-Dec-08542.2439.1820
1081461AAA Running Shoe8441-Jan-09936.68659.7530
1088061AAA Running Shoe2476-Feb-09973.08715.2130
1093361AAA Running Shoe1933-Mar-09764.7674.4730
1099061AAA Running Shoe1829-Mar-092132.031635.1866
1099861AAA Running Shoe91831-Mar-09203.77192.917
1103461AAA Running Shoe37917-Apr-09145.56128.386
1104261AAA Running Shoe59519-Apr-09114.16100.694
1105861AAA Running Shoe6726-Apr-09107.8895.154

..... just a sample the table is thousands of rows.

1 REPLY 1
Mahesh0016
Super User
Super User

@Allagowf Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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.