Powerpivot relationship puzzle

nelson

New member
Joined
Jun 1, 2014
Messages
2
Reaction score
0
Points
0
Hi, I am new to powerpivot and battling to come to grip with relationships in DAX measures. I am currently working on a problem that I am sure is easily fixed with the correct DAX formula.

I have 5 tables: FinancialData, Shipment, VA, Container & Voyage. I am trying to create a pivot from these tables that shows:

VoyageVesselAmountContainersWeight(T)Amount/Ton
1NFred1000168012.50
1SFred1100201209.17
2NJoe60094015.00
2SJoe60036807.50
3NMary20013603.33
3SMary20024603.33
4NPaul20018603.33
4SPaul30082015.00

There are two types of jobs that and each have their own table i.e. Prefix V jobs are in the VA table as well as the Financial Data table while Prefix J jobs are in the Shipment table and the Financial Data table. Container numbers and weight are related to the Shipment table jobs only (prefix J jobs).

While I can get a pivot to show amounts by vessel & voyage and another pivot to show containers and weight by vessel & voyage, I can’t show all in a pivot table or use amount and weight in the same measure. Can anyone help.
 

Attachments

  • GP and Weight Powerpivot.xlsx
    486.1 KB · Views: 23
I think you will need to append the VA and Shipment tables, either in Excel, or maybe Power Query.
 
Thanks for you input Bob. Yes I thought of doing that but unfortunately the VA and Shipment table data columns in the live version are much more complicated and hence they not compatible, so doing an append in this situation would not work.
 
Back
Top