Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

MDX: Calculate Totals

$
0
0
Hello All,I have a RS report with several tablix objects in it. I need to include subtotals at various points which are made up of totals from values in separate tablix.So a simplified version of this is below:Tablix1: Revenue CostsTablix2: Labour CostsSubtotal1: Gross Profit (Tablix1 - Tablix2)Tablix3: TaxSubtotal2: Profit after tax (Tablix1 - Tablix2) - Tablix3I thought the easiest way would be to create some named sets and include the account categories required for Subtotal1 and Subtotal2.I can then add this dataset to the existing RS report and drop them in.I am struggling with the syntax and the optimum way of doing this after not touching MDX for about 4 years so any help would be appreciated!

Viewing all articles
Browse latest Browse all 1341

Trending Articles