Once of the more common issues with working with data in a cube is that it does not always line up like we expect. This is usually a combination of our interpretation of how SSAS will handle our business and a lack of understanding of some feature, option, property or toggle switch we forgot to flip. None of these occurs more often than in working with a set of dimensions that intersect multiple fact tables or measure groups, but not both. This can cause some strange behavior along the dimensionalities that don’t intersect. The property IgnoreUnrelatedDimensions is set at the measure group level and allows the developer to control the way this will be handled. IT has two options For Example in AdventureWorks2008, the SalesReasons Dimension is Not Related to Reseller (See below) Let’s Slice these by a related and unrelated dimension. Let’s take Sales Reasons and slice it by Reseller (Unrelated) and Internet Sales Order Details (related) and see what we come up with. You’ll notice when we drop an unrelated dimension onto the screen we immediately get the current value for that dimension for all measure rows We do have another option, however: Any Unrelated Dimension is now Ignored. As Always – please post your questions to the BIDN forums. Thanks for reading!



Subscribe to this blog
Briefcase
Print
No comments.