Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 341
  • Last Modified:

Crystal Reports 11 Count Function

I am trying to develop a field on a report that will do perform the count of a column where the value is greater than 1.  I have a column which contains integer numbers and where ever that integer is >= to 1 i would like the COUNT of the rows.

i am having issues with the conditional statement.  
0
szadroga
Asked:
szadroga
2 Solutions
 
namanpatelCommented:
You can have 2 layer formula

formula1
if{Bill_Payment.Gross Amount}>100 then
1

Formula2
sum(formula1)

Use formula2 in design.
0
 
mlmccCommented:
Try this

Add a formula to the report
If ({YourField} >= 1 then
    1
else
    0

put the formula into the detail section
RIght click the field
Click INSERT --> SUMMARY
  Make it a sum
  Put it in the appropriate footer
Remove the formula from the report

mlmcc
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now