Hi, I am setting up a large Power Pivot file, and I am stuck fairly off the start as the information is not portraying itself logically.
The database is a many to many relationship, so I have set up some unique tables being 'Tbl_Sales_Unique', 'Tbl_Purchase_Inv_Unique', and 'Tbl_Distinct_CC' (Credit Card Id's) for the relationships.
1) When I enter the Placement Invoice Number (PIN_ and the Supplier Invoice Number (SIN), they do not line up appropriately. e.g. PIN 10013277 only has SIN 'g' associated to it in the data (Data 14 04) (See pivot on data above), however in the Power Pivot it is associating SIN 'g', 'h344', 'h5885', 'h6234', and 'blank'. What have I done wrong to cause this?
2) If a Purchase is made on Credit card, the Purchase Invoice in the Data 14 04 file will be the same as the CC test data/Tbl_Distinct_CC 'Claim Id'. I am looking to pull in the Cr. Card Description into the file for any instance when there is a Cr. Card payment. However what has happened, is all of the descriptions are being pulled in, even if there is no Cr. card expense. e.g. SIN 'g' has no cr. card payment however it shows all of the Cr. Card descriptions.
File 'Power Pivot' Query' is the workings, all other files are support tables etc.