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

How to avoid hidden values to add in group totals and grand total?

Hi,

I am creating a comparison report for 2 years, the condition is if any of the year's value is missing, need to suppress those records i.e. here I am hiding the Store 2 & 3 as they have only one year's data (using 'yr count' in formula), but while these values are hidden, the corresponding totals are adding up in group totals and grand total.

Orders

2015

2016

State (Group1)

70

100

--Region 1(Group 2)

60

80

Store 1 (Group 3)

10

20

----Year 2015

10

10

----Year 2016

20

20

Store 2

---Year 2015

30

30

Store 3

----Year 2016

40

40

Store 4

50

60

----Year 2015

50

50

----Year 2016

60

60

--Region 2(Group 2)

10

20

Store 5 (Group 3)

10

20

----Year 2015

10

10

----Year 2016

20

20

I tried to fix using formulas at detail and group level, but getting following issues:

1) No option for 'total' in 'detail' level formula I created based on record count.

2) Only at one group its working where I have a count of year, i.e. showing 0 for that year, but not summing up at other level.

Please suggest, how to solve this issue at Report level, as I can't do any change at universe level.

Thanks,

Poonam

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Oct 09, 2015 at 07:31 AM

    Hi Poonam,

    Please post the 'yr count' formula here.

    This is fairly easy to handle if you're OK with displaying the group total on the Group Footer.

    If you wish to display the group total on the Group Header, then you'd need a Subreport.

    -Abhilash

    Add a comment
    10|10000 characters needed characters exceeded

    • That's not a running total, unfortunately.

      Furthermore, a running total on the header does not give you correct results.

      If you can bring yrcount as a database field you should be able to sum based on a condition and display it on the header.

      Otherwise, subreport is the only alternative.

      -Abhilash

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.