您能否請求幫助解決以下問題。我嘗試了一切,但無法從我的多維數據集中獲得所需的值。基本上我有以下事實/尺寸:SSAS 2012:通過常見維度表篩選事實數據表的值
dimEmpolyeeGroup - employees grouped together by the HR department (M:N to department)
dimEmployee - the employee itself
dimDepartment - department structure (M:N to EmployeeGroup)
factAttendanceTime - time the staff was present and got payed for
factTimeTicket - time that was booked on a specific department
dimEmployeeGroup -> factAttendanceTime <- dimEmployee -> factTimeTicket <-dimDepartment
我的問題是彙集這兩個facttable。我怎樣才能做到這一點?我嘗試了EmployeeGroup和Department之間的多對多關係的不同組合,但沒有爲我工作。我要麼沒有看到factTimeTicket,factAttendanceTime的價值,要麼我得到Departments和EmployeeGroups的笛卡爾積。
其目標是結合這兩個事實表。用戶應該能夠(Excel Pivot)通過EmployeeGroup進行過濾,以獲得這些組的出勤和TimeTicket時間(或其他方式,或者按兩者過濾,...)
我該怎麼做錯誤?爲什麼它不是由dimEmployee自動鏈接的?