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

Measures with Different Granularity Functionality

$
0
0

Hi,

I have the following measure:  Weighted Score:=DIVIDE (SUM(X),DISTINCTCOUNT(Y))

when the user is filtering / Displaying the measure on the day level i want it to calculate like the above measure, but if the user filters a time range, lets say one month, i want theDISTINCTCOUNT to be calculated on the day level and then sum up all the days distinct counts as the DIVIDE denominator.

hope i was clear.

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>