Quantcast
Channel: SQL Server Analysis Services Forum
Viewing all articles
Browse latest Browse all 2472

AS Calculation

$
0
0

Hi Guys,

I hoping someone could help me out.

Im in the process of building a cube and need to provide a gross profit calculation, sounds simple!! However my fact table is currently organised like this

Period        Category         Amount

 201101        OH                10.20

201102         LA                  25.56

201102         PL                 15.99

201101         REV               10000.00

My dimension is organised like this:

Key             Desc

OH              Overhead

LA               Labour

PL               Plant

REV             Revenue

How do can i write a calculation that provides the gross profit (REV -OH  - LA - PL)? do i need to create a named set or something? Any help would be most appreciated.

Regards

Dave



Viewing all articles
Browse latest Browse all 2472

Trending Articles