Welcome Guest! To enable all features please Login or Register.
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\Webinar
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

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

Groups: extranet\Webinar
Joined: 4/7/2011(UTC)
Posts: 514

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

Ole Dyring
Users browsing this topic
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.



We use cookies to improve your site experience, but they also provide us with information on your use of our website.
To find out more about the cookies we use and how to delete them, see our Privacy Policy. By continuing to browse the site, you are consenting to our use of cookies.