Hi All
I'm quite new to the whole SSAS & Cube Topic and would appreciate your help to solve the following problem.
Basicly our cube contains two different Facts:
- Sales Volume: Information about sold articles to a customer incl. Selling date
- Survey: irregular answered survey questions about customers incl. date of answer
and three Dimensions:
- Customer
- Date
- Survey Answer: Information about possible Answer values (e.g. Yes / No)
Relations:
Fact: Sales Volume ------> Dim: Customer <------ Fact: Survey ------> Dim: Survey Answer
'--------------> Dim: Date <----------------'
We would like to be able to determine the aggregated sales volume (sum) of a customer for a specific period depending on the latest survey answer within this period.
For example:
Selected Time period: Jan - Jul 2015
Sales Volume Customer X - Jan - Jul 2015: 1000 Litres
Sales Volume Customer Y - Jan - Jul 2015: 500 Litres
Surveys answered:
15th Jan 15: Customer X, Survey Question A: Yes
2nd Mar 15: Customer X, Survey Question A: No
20th Apr 15: Customer X, Survey Question A: Yes
10th Feb 15: Customer Y, Survey Question A: Yes
20th Jul 15: Customer Y, Survey Question A: No
Latest survey answer (Jan-Jul) Customer X, Question A: Yes
Latest survey answer (Jan-Jul) Customer Y, Question A: No
Excel Pivot should show something like this
Question | Lates Answer: Yes | No
|
------------------------------------------------------------------------------------
A | 1000 Litres | 500 Litres |
Can somebody explain if and how this is possible and has to be implemented?
Thanks already in advance.
BR Pascal