INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Problems linking dimension tables and fact tables in SSAS cube

Problems linking dimension tables and fact tables in SSAS cube

(OP)


I have a problem with SSAS trying to relate tables.

I have this tables:

1) hc_routes (airplanes routes):

id_route, id_aeroline, id_airport_source, id_airport_destination
PK: id_route

2) co_route_equipments (planes of each route)

id_route, id_equipments
PK: id_route, id_equipments (I have N equipments for each id_route)

3) dm_equipments

id_equipment, desc_equipment
PK: id_equipment

4) dm_airport
id_airport, ....(atributes)
PK: id_airport

5) dm_aeroline
id_aeroline, ....(atributes)
P‌K: id_aeroline

I have made a data source and a cube with this tables. I define metrics for hc_routes y co_route_equipments
(count of routes).
In the 'dimension usage' I can link:
- hc_routes with dm_airpors and dm_aeroline
- co_route_equipments with dm_equipments

I would like to relate dm_equipments with hc_routes but I don't know how...
I want to count how many routes has a equipment, but filtering by airport or airline then
I need to use hc_routes

The relation needed is:

d‌m_equipment - (id_equipment) 1:N -> co_route_equipment ->(id_route) 1: 1 -> hc_routes‌




Any advice will be greatly appreciated

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close