Viewing 5 posts - 1 through 6 (of 6 total)
Finally working:
iif (
IsLeaf([Dim Cost Elements].[Cost Element].CurrentMember) AND
IsLeaf([Dim Cost Center].[Company Code].CurrentMember),
[Measures].[Quantity] * [Measures].[Selling Price],
Sum( Descendants( [Dim Cost Elements].[Cost Element].CurrentMember,, leaves) *
Descendants( [Dim Cost Center].[Company Code].CurrentMember,, leaves),...
April 12, 2011 at 5:33 am
There is a message i cannot aggregate calculated member.
April 12, 2011 at 1:58 am
Steve,
what do you mean? How do you think that script should look like?
Thx a lot
April 12, 2011 at 1:43 am
Unfortunately it didnt help me:(.
What i dont understand is that total sums for regions are correct but not for accounts. Everything is correct on leaf-level. So, the problem is really...
April 11, 2011 at 9:43 am
Ok, sorry i am really newbie here. i try it once again.
Dimension with accounts is created like this:
CREATE TABLE [dbo].[DimCostElements](
[ID_Cost_Element] [varchar](25) NOT NULL PRIMARY KEY,
[Parent] [varchar](25) NULL,
[Description] [varchar](80) NULL
)
Dimension...
April 11, 2011 at 8:19 am
Viewing 5 posts - 1 through 6 (of 6 total)