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

Performance Issue: Calculated Measure

$
0
0

Hopefully there is somebody that can help me out with this one.

I have to do a calculation where I have to exclude two dimension (read: take the all member) in a calculation.

If I'm doing it with one dimension, it's quit fast, but when I'm doing it with two dimensions in SQL Management Studio it talkes around 1 minute for the simplest query and in excel It takes forever. 

Maybe there is a magic trick for this one? 

Here is a description of the formula (the two dimensions I'm talking about are called dimension1 & dimension2)

Sum(( [Dimension1].[Dimension1].[ALL].Children, [Dimension2].[Dimension2].[All].Children, [DimensionA].[DimensionA].&[1], [Measures].[x])
/Sum(( [Dimension1].[Dimension1].[ALL].Children, [Dimension2].[Dimension2].[All].Children, [DimensionA].[DimensionA Hierarchy].[All], [Measures].[y])

Thanks in advance,

Bram


Viewing all articles
Browse latest Browse all 14337

Trending Articles



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