Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Getting Grand Total of a calculated member


Getting Grand Total of a calculated member

Author
Message
umas
umas
SSC Journeyman
SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)

Group: General Forum Members
Points: 81 Visits: 227
I have a calculated member in my cube called [LY Pounds]. I need to get the grand total of [LY Pounds] as displayed in the cube browser against my time dimension Fiscal Period hierarchy in another calculated member for comparison.

The Fiscal Period hierarchy contains Year and month attributes.

CREATE MEMBER CURRENTCUBE.[MEASURES].[LY Pounds]
AS ([Measures].[Total Pounds],parallelperiod([Fiscal Period].[Fiscal Period Hierarchy].[Year],1,[Fiscal Period_2].[Fiscal Period Hierarchy].currentmember)),
FORMAT_STRING = "#,#",
VISIBLE = 1;

I know that [Fiscal Period].[Fiscal Period Hierarchy].[All] will get the grand total. But I don't know how to get the [LY Pounds] of all members against fiscal period hierarchy. Could anyone please help me? Thanks.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search