I have a cube that retrieves data from 4 facts / dull tables.
FactCaseEvents (EventID,CaseID,TimeID)
DimEvents (EventID, EventName)
DimCases (CaseID,StateID,ClientID)
DimTime (TimeID,FullDate)
Developments: CaseReceived,CaseOpened,CaseClientContacted,CaseClosed
DimTime contains a record for every hour.
I would like to write an MDX instruction that will get me 2 columns: " CaseRecievedToCaseOpenedOver5
" and " CaseClientContactedToCaseClosedOver5
"
CaseRecievedToCaseOpenedOver5
will contain the number of cases that had a time difference of 5 hours between CaseReceived
and CaseOpened
.
I assume that " CaseRecievedToCaseOpenedOver5
" and " CaseClientContactedToCaseClosedOver5
" will be calculated by members, but I need help on how to create them.
Thanks in advance.
source
share