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

Rollup of Distinct Count Measure

$
0
0

Hi,

I have created a calculated measure for Distinct Machine Count will rollup perfectly till year level.

Here's how my calculated measure looks like

(Sum(EXISTING [Date].[Business Dates].[Business Date].Members,

(Sum([Measures].[DistinctMachinesCount]) *Sum([Measures].[BillingDays])))

Business Dates rollup to Month Name (Correct)

Month Name rollup to QuarterName (Correct)

QuarterName rollup to CalendarYear (Correct)

Problem:

When i select multiple years then rather than doing sum of the selected years its showing the sum of [ALL Calendar].

Is there any way to resolve this?


The Actual value should have been 2012 + 2013 i.e. 62876 + 61671. But its showing the all calendar value.

Please let me know if i am doing anything wrong in the calculated measure.

Thanks



Viewing all articles
Browse latest Browse all 14337


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