Hello -
I'm very new to SSAS and MDX so I'm hoping I could enlist some help of the community to get me started in understanding how I would solve this problem. I'd like to start with the most basic problem, and build in some of the complexities down the road as I begin to grasp the concepts.
Description of work: For any level in the hierarchy, order the available appointment times by ascending date/time and pick the third row. Available appointment times are defined as Open_APP_Slots - Book_APP_Slot > 0.
Department Dimension - DeptIK (PK), Market, Department, Location
Fact - DeptIK (PK,FK), Appt_Timestamp (PK), Open_APP_Slots, Book_APP_Slots
So, for example, let's say for the following:
Market = Midwest
Department = Sales
Location = Babylonia
...there are five rows in the fact...
#DeptIK Appt_TimestampOpen_app_slotsBook_app_slots
1123 01-01-2000 12:0052
2123 01-01-2000 12:2021
3123 01-02-2000 9:0055
4123 01-04-2000 6:00102
So in this example, the row #4 would be returned since it's the 3rd appointment with open_app_slots - book_app_slot > 0.
-------------
Can anyone help guide me through the steps to build this calculated measure into a SSAS cube? The cube is already built and processes just fine, so it's steps after that...not the entire process.