Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cutom Calculated Level Within Dimension Structure

Status
Not open for further replies.

SQLBI

IS-IT--Management
Jul 25, 2003
988
GB
Hi,

I'm putting together a cube based on our company's financial statements.

I've structured my data in my DB so that each Ledger code has a Type, Level and Sub Level, based on its position within the statement.

This results in the following structure within my dimension:

Profit and Loss Account ----Type
Income ---- Level
Cost of Sales
Labour Costs

etc


What i want to do is add a new member after Cost of Sales called Gross Profit, based on the calculation
Code:
Gross Profit = Income - Cost of Sales

Is this possible and can anyone suggest how i go about it?

Thanks in advance.



Cheers,
Leigh

"Give a man a fish and he can feed himself for a day..."
Give him the means to catch his own fish and he can really annoy his partner by spending all his spare time fishing!
 
Add the 'Gross Profit' member to your dimension table in the required position. Add the formula in a Formula column. In the dimension editor enable the 'custom member' advanced option and select 'Use an existing column' and pick the formula column you created.

BK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top