Skip to Content
author's profile photo Former Member
Former Member

Subtotal Calculation

Is there any way to show the subtotals in front of the section cell, not at the end of section. I have a section within a section. Clients want subtotals in front of both section cells. I have over thirty columns in my report and three of them are measures. I think I should insert a free standing cell in front of the section cell and use the ForEach() function. Do you think it will work:

=[Dimension]ForEach[Measure]

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 20, 2011 at 02:35 AM

    Hi Morton,

    There's a function specifically for this. Try =sum(measure) In Section

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 20, 2011 at 07:13 AM

    You can insert the formula inside each section. Make sure that for the top section you are putting in the First section and calculation for the Second section should e in the Second Section.

    Use the Formula =Sum ([Measure]) In Section

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.