ReportPortal
ReportPortal
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ReportPortal General Forum
 Report Portal General Issues
 Calculated Field
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

n/a

30 Posts

Posted - 11/03/2004 :  18:34:51  Show Profile  Reply with Quote
Hi All,

Is it possible to create a calculated field based on two memebers of a dimension? I have a report that shows two distinct memebers of a dimension as columns and I then want to calc (dimension.memberA.value / dimension.memberB.value)??

Below is the MDX of my report so far:

Select non empty HIERARCHIZE(DISTINCT({
[CalendarYear].[All CalendarYear].[2003].[Quarter 3 2003].[September 2003]})) on rows,
non empty HIERARCHIZE(DISTINCT({
[COA].&[Current Assets],
[COA].&[Current Liabs]})) on columns
From [Finance]
Where ([Measures].[Actual Amount])

Cheers
Ryan

admin

1647 Posts

Posted - 11/03/2004 :  20:01:49  Show Profile  Reply with Quote
Here is an example for Foodmart 2000 - Budget cube. The calculated measure can have a formula that combines values from two members: Marketing and lease. The MDX would look like this:

([Account].[All Account].[Net Income].[Total Expense].[Marketing],[Measures].[Amount]) +
([Account].[All Account].[Net Income].[Total Expense].[Lease],[Measures].[Amount])
Go to Top of Page

n/a

30 Posts

Posted - 11/04/2004 :  13:08:26  Show Profile  Reply with Quote
Thanks Igor that worked a treat!!

Cheers
Ryan
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
ReportPortal © 2000-2002 Snitz Communications Go To Top Of Page