Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

Calculated measures in SSAS cube development

$
0
0
Hi,I encountered an issue with calculated measures in SSAS cube development. Thank you in advance for your help!For example, the region dimension has the hierarchy:Region 1: Northeast -> Division 1 and Division 2Region 2: Midwest (Division 3 and Division 4)Region 3: South (Division 5, Division 6, Division 7)Region 4: West (Division 8 and Division 9)But the fact table only has data for each individual division not region. Therefore, if I need to calculate the sales total for region level, I may need to use calculated measure member by aggregating on divisions within each regio.I wrote MDX to create the calculated measure. When I query the cube by using region as the only slicer (filter), the result for all regions can be displayed properly. But if I add additional slicer (e.g. year), the data is only displayed for some specific year (e.g. 2010 only) for all regions instead of all years (2011-2013). I cannot figure out what's going wrong and how to fix it.Thanks again for your help!

Viewing all articles
Browse latest Browse all 1341

Trending Articles