Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OLAP Cube design question

Status
Not open for further replies.

ueberbill

Programmer
Aug 22, 2000
21
US
Hello all,

I have a single database table I've been trying to design a cube for and I'm kinda stuck. I have flight types (commercial, military, etc), engine types (piston, jet, etc), departure airport names, and departure dates. Each entry in the table is one flight. What I need to be able to do is query this cube to pull back a row like so

Month | Year | Commercial Flight | Jet | Airport Name | # Flights that fit the previous criteria.

Any thoughts on an optimal cube to allow that kind of analysis and the queries to pull it?

Bill

 
Its a pretty typical star schema scenario. The best design would be to also follow a dimensional modeling approach in the relational database. Instead of having one flat table, break down your individual dimensions and fact tables.

That being said, what you need in the SSAS database are the following:

Date Dimension,
FlightType Dimension,
EngineType Dimension,
Airport Dimension,
Flight Fact Table.

With that design, you could easily obtain the results you are after with a hand-coded MDX query, or an OLAP browser/reporting tool.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top