I have a situation where I'm using a SSAS cube to analyze the frequency of trips between locations. I have defined the locations as a dimension of the cube and trip frequency as a measure.
I’m creating a service that returns this data, and every time I return data from a location I also have to return several additional fields (name, geographical coordinates, and others) that are associated with the location but are not part of the dimension used in the cube.
I can think of two different ways to get that information:
- Add all the needed fields to the dimension and get them from the cube in the same MDX query.
- After getting the data from the cube then get the additional fields from the relational database that serves as the base for the cube.
Both these options can give me the information I need, what I don’t know is which one is the best option.