Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

One table for two dimensions

$
0
0

Hello everyone,

First of all, sorry if this question is already answered in this forum, I browsed around and didn't find any solution to my problem.

I am quite new to data warehouse modeling with SSAS and I would like to design a basic cube about transportation informations.

What I have in my data source is a collection of flights information (passengers, schedule, ...) and each flight is linked to an Origin Airport and a Destination Airport. I then created a cube with a fact table for flight information and two dimensionDeparture and Origin for the Airports.

My question is : How can I retrieve the total number of passengers arriving and departing from a specific airport?

I have found a way to express it in MDX but it is a weird query. What is the typical MDX solution for those kind of queries? Does this value have to be computed during the ETL phase? In the fact table?

Thank you,

Orlando


Viewing all articles
Browse latest Browse all 14337

Trending Articles