2013-11-20 21 views
0

我有兩個測度組之間的尺寸..在其各自單獨的立方體...SSAS鏈接度量值組和非相關角色扮演測度組

Population_cube 1)population_yearly DATE_ID population_ct

2 )medical_cases begin_care_date_id end_care_date_id

我有以下日期維度 3)dim_date DATE_ID calendar_dt calendar_yr_nr calenar_mont_nr fiscal_year_nr fiscal_month_nr

4)dim_begin_care_date begin_care_date_id begin_care_calendar_dt begin_care_calendar_yr_nr begin_care_calendar_mont_nr begin_care_fiscal_year_nr begin_care_fiscal_month_nr

5)dim_end_care_date end_care_date_id end_care_calendar_dt end_care _calendar_yr_nr end_care_calendar_mont_nr end_care_fiscal_year_nr end_care_fiscal_month_nr

我創建了兩個命名查詢我的立方體DSV,然後創建了兩個多維數據集維度關閉名爲dim_begin_care_date_yr和dim_end_care_date_yr的。還有爲人口多維數據集定義的generice dim_date維度。我創建了兩個命名的基於查詢的維度,以便我可以根據其用途命名屬性。所有3個維度都基於相同的原始視圖v_dim_date。

問題是,當我在我的medical_cases多維數據集中包含人口度量值組時,它認爲它使用的是單獨維度,然後我無法切片並切分包含基於dim_begin_care_date.begin_care_calendar_yr_nr的population_ct的medical_case多維數據集,因爲我獲得完整的population_ct,因爲它不會在一年之內分裂population_ct,因爲它認爲它是一個不同的維度。

如何使用鏈接度量值組和角色扮演與appropriatley命名維度的屬性來解決這個問題?

謝謝,

回答

0

是否有任何理由使用兩個不同的立方體?我只是將一個多維數據集與不同的度量值組一起使用,完全避免了使用鏈接的度量值組的需要。在Analysis Services中,可以在多維數據集中有多個度量值組,而不會出現任何問題。

+0

是,人口立方體已經存在,我不希望有複製它和所有其記錄爲MOLAP多維數據集,除了具有重新處理所有數據兩次,兩種配置維持種羣的立方體。 我已經在多維數據集中多個度量值組,其實,這是它的現在,從它的事實表的人羣,但它複製的所有人口數據和處理時間,因爲我們已經有人口立方體一個單獨的度量值組。 – user3014300

+0

您是否考慮過使用可用的羣體立方體,而不是以組合立方體的透視圖(http://technet.microsoft.com/zh-cn/library/ms175338.aspx)? – FrankPl