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

Average in MDX

$
0
0

Hello, I need to do the following

IIF([if category level or above], [average of "direct" children],
                IIF([if category below], [returns a measure], NULL)

)

Im summing teh children and divide by a count.

I tried using this or using the is level function but the average is not working. If I mannually do the average of the children it not matches the one that the calculation returns. I am doing something wrong?

Can anyone help me?

Thanks.


Viewing all articles
Browse latest Browse all 14337

Trending Articles



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