Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

Calculated Member no longer analysable by Dimension

$
0
0

We have a Dimension called DimSupporter on which there is also a MeasureGroup defined as we wish to Count no. of Supporters etc. There is also a direct relationship in SSAS between this MG and the DimSupporter dimension.

One of the attributes on DimSupporters is DaysToFirstGift, which by default is -1 if no Gift has been given.

We wish to count the total DaysToFirstGift which is simply the sum of the values of this attribute, but we also wish to exclude the -1 values as this would distort the result. As a measure on its own, the calculated column defined which works is

SUM({FILTER ({[Supporter].[Supporters].[Supporter]}, [Measures].[Days To First Gift Sum] <> -1)},

               [Measures].[Days To First Gift Sum])

However, this calculated column is no longer analysable by the DimSupporter dimension even though there is a direct relationship between the MG and the DimSupporter dimension. What am I missing in the calculated member ?


Viewing all articles
Browse latest Browse all 14337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>