Solved

Crystal Reports 11 Count Function

Posted on 2009-05-05
2
330 Views
Last Modified: 2012-05-06
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
Comment
Question by:szadroga
2 Comments
 
LVL 6

Accepted Solution

by:
namanpatel earned 250 total points
Comment Utility
You can have 2 layer formula

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

Formula2
sum(formula1)

Use formula2 in design.
0
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 250 total points
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now