Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to suppress certain rows conditionally in CR11 1

Status
Not open for further replies.

madsstiig

Technical User
Jun 11, 2008
50
DK
Hi.
I'm trying to make a report 'look nicer' by suppressing irrelevant rows.
I made a formula field (@Status):

if {VWALLNEW.STTEXT} startswith "Udeb" then "Udebl." else "Anden status"

I then want the report to suppress the rows where @Status is not "Udebl."

How do I do that?​
 
Have you looked at the section expert and the formula area for suppressing details? If not, then in the formula editor for suppressing the detail, put in @Status <> "Udebl". The formulas in the section expert are looking for a Boolean (True/False) result. Just remember that for the suppress formula, you want a True result to suppress.
 
Do you need the non-"Udebl." data in the report for any sums or counts? If not, I would go to the Select Expert and add the following:

{VWALLNEW.STTEXT} startswith "Udeb"

If you have other criteria already set up, you'll need to put "and" in front of this in the select formula.

This will keep the records that you don't want to show from even being pulled from the database for the report, which will probably also speed it up.

-Dell

DecisionFirst Technologies - Seven-time SAP BusinessObjects Solution Partner of the Year
 
Hi.
Thank you both for your response.
@hilfy: yes I'm sorry I didn't mention but I need the counts on "Anden status" so your advice didn't help [wink]
@kray4660: Worked like a charm - thank you [bigsmile]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top