PowerPivot relationships

greeknl

New Member
Joined
Jan 25, 2017
Messages
1
I have problems creating the appropriate relationship and consequently cannot display my data as I want to.

I have the following tables with lots of data created from csv. It is very hard to alter these files as they come in ready.
table 1 Calendar table: full-Date, day, month, year, ...
table 2 Incoming Flights: full-Date, Airline-code, representative-code, ...
table 3 passengers: full-Date, Airline-code, NumberofPassengers, ...
table 4 Airlines: Airline-code, AirlineName, ...
table 5 Representatives: representative-code, FullName, ...

The Question is how and what kind of relationships and or measures I need to create in order to be able to create a pivot table with the following data:
also slicer with year and months are present to select desired period.
Representative Full name
Airline Name
Total number of passengers

<tbody>
</tbody>


all tables have also additional info not related to this problem
full-Date = dd/mm/yyyy
the representative can change on a daily basis (can do several different airlines per day and they are not bound to any specific Airline BUT they do all flights from a specific airline on a particular day).
the Incoming flights table can have several entries per day of the same airline-code according to certain specifics.

Any help would be greatly appreciated
 

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,)

Forum statistics

Threads
1,214,853
Messages
6,121,935
Members
449,056
Latest member
denissimo

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