Topic: Hierarchical Sum Problem Posted: 30 Jun 2011 at 1:41am
hi all i do have a problem on hierarchical sum on crystal report.
I have a report in which i have done hierarchical sum, and grouping everything works fine. But the problem is, i have 4 levels of reporting in which data is only in 4th level, i have to supress all the lines if every column of that row contains 0 value for eg:
i have supress the line 4 by using the formula as below: if ( Sum ({command.Amount1 }, {command.Segment_0})=0 and Sum ({command.Amount2 }, {command.Segment_0})=0 and Sum ({command.Amount3 }, {command.Segment_0})=0 ) then true;
but Cannot do supress with same formula , when i use this formula each and every 3rd level get supressed even if it has value like below:
Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Posted: 30 Jun 2011 at 3:36am
wouldn't you want a suppresson formula like:
{command.Segment_0} = 2 (or some value)
and Sum ({command.Amount1 }, {command.Segment_0})=0 and Sum ({command.Amount2 }, {command.Segment_0})=0 and Sum ({command.Amount3 }, {command.Segment_0})=0
since the totals change for the segments, wouldn't you want to include that in the formula?
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