Link to home
Start Free TrialLog in
Avatar of Callis_Ogles
Callis_Ogles

asked on

Suppress Group Header when Details Section is empty (Due to conditional suppression)

My report looks like this

Group A Header
   Data 1, Data 2, Data 3
   Data 1, Data 2, Data 3
   
Group A Header
   Data 1, Data 2, Data 3
   Data 1, Data 2, Data 3
   Data 1, Data 2, Data 3

I have a condition suppression on the Details Section: if Data1+Data2+Data3 = Value Then Suppress  (again this suppression is not on the data values - it is on the Details Section - Section Expert - using a formula)

In the above example if both Data Sets are suppressed (first grouping) my report looks like this:

Group A Header
   
Group A Header
   Data 1, Data 2, Data 3
   Data 1, Data 2, Data 3
   Data 1, Data 2, Data 3

- I want the Group A Header to be suppressed as well. In the above example the Details Section was suppressed two times - but those where the only two lines of data - so now there is no data in that Group - so I need the Header suppressed.

Thanks





ASKER CERTIFIED SOLUTION
Avatar of bdreed35
bdreed35
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Callis_Ogles
Callis_Ogles

ASKER

OK - sorry - I need to be more specific - I was trying to keep it simple before. It looks like this will work but here is the problem.

I have three formula fields in the Details section that are doing text comparisons. for example
Formula1
if (Name1 in Name2) then "Yes"
else "No"

Formula2
If (Company1 in Company2) then "Yes"
else "No"

Formula3
if (Description1 in Descritpion2) then "Yes"
else if (Description1 = "Exception1") And (Description2 = "Exception2") then Yes
else "No"

the purpose of my report is to create  an "exception" report - if data matches up then I don't want to see the data.
So, again, in the Details Section Expert using the formula editor on the supression field. I put this:
 
if  {@Formula1}= "Yes"
And {@Formula2}="Yes"
And {@Formula3}="Yes" then True // if all 3 match I don't need to see this line of data
else False

So now - following your previous recomendation to use the "Group Selection to suppress the whole group" - I am just not sure how to do this since I am evaluating these formulas and not data directly from a table.

I am increasing the points - since this is essentially a new question.








Avatar of Mike McCracken
I don't know why I missed the latest comment.  Do you still need help?

mlmcc