Thanks for responding.
THe GroupID field has no bearing on the calculation (I should not have added
it to the dimension info..my apologies for that); instead I had to filter out
NULL values from the "Profit Center Rollup" dimension as shown below. I have
got it working now and the Calculated Member (Opening Headcount) is
calculated as:
SUM(FILTER(DESCENDANTS([Profit Center Rollup].[Profit Center
Rollups].CurrentMember,[Profit Center Rollup].[Profit Center Rollups]),NOT
ISEMPTY([Profit Center Rollup].[Profit Center
Rollups].Members)),[Measures].[Census Count])
Thanks once again for getting me thinking.
--
Thank you,
Ashok G
"Deepak Puri" wrote:
Quote:
Hi Ashok,
Could you clarify a couple of things for your cube:
- What is the role of the Group ID and other attributes of the Calendar
dimension: any examples of the cube data?
- Why are you applying Descendants() to Measures:
DESCENDANTS([Measures].Currentmember,[Census Count])
- Deepak
Deepak Puri
Microsoft MVP - SQL Server
*** Sent via Developersdex http://www.developersdex.com *** |