en
Welcome Guest! To enable all features please Login or Register.
Options
Go to last post Go to first unread
tåle liereng  
#1 Posted : Friday, June 1, 2012 12:48:30 PM(UTC)
tåle liereng
Rank: Newbie

Groups: extranet\Forum
Joined: 3/23/2011(UTC)
Posts: 1

How do I reference to a subtotal higher up in the hierarchy in a formula ?
Have a crosstable with 4 levels and need to create a calc on a value on level 4 against a subtotal on level 1.

Have been able to reference the total level by "sum(d1, all(l0), m1)" and also total-this-level by "sum(d1, all(s), m1)"

But how do I reference to a subtotal higher up in the current hierarchy, somewhere between the "grand total" and "subtotal this level" ?



Regards Tåle Liereng

Ole  
#2 Posted : Thursday, June 7, 2012 8:35:18 AM(UTC)
Ole
Rank: Administration

Groups: extranet\Forum
Joined: 4/7/2011(UTC)
Posts: 324

Hi Tåle,

Add a calculated column to your cross tab and try this formula:

sum(d1, 0(l1), m1)

This should return the subtotal from level 1 relatively to the current row.

Best regards / Ole

Edited by user Thursday, June 7, 2012 8:36:14 AM(UTC)  | Reason: Not specified

I work as an employee with TARGIT A/S. Any statement made by me in this forum represents my own opinion and state of mind, and is not necessarily related to or representative of TARGIT A/S.

UserPostedImage Ole Dyring
Users browsing this topic
Anonymous
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error