Solved

CR COUNTING DATA WITH CONDITION

Posted on 2013-06-24
6
226 Views
Last Modified: 2013-06-24
Hi All,

I have a report.
I want to counting string data, the counting plus 1 if there is data (not blank).
I want to do it at group footer.

How could I do it ?

Thank you.
0
Comment
Question by:emi_sastra
  • 3
  • 2
6 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 39271154
It depends on what you mean by 'not blank'.

Using Insert Summary and a Count on the relevant field will ignore Null values, so you will get a true count of fields with non-null data.
However if your data could contain fields that just contain spaces or other non-printable characters then Count will not ignore those.
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 39271166
Hi  peter57r,

Since its type is string.  
What I mean blank is empty string ("").

Thank you.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 39271297
Try this

Create a formula

If IsNull({YourField}) OR {YourField} = "" then
    0
Else
    1

You can then summarize that to get the count of non-null/blank fields

mlmcc
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 77

Expert Comment

by:peter57r
ID: 39271367
I would expect empty strings to be ignored in a Count summary.

Are you saying they are being included in your total?

Are you using the built-in summary functions (Insert>Summary) or have you created your own formula field?
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 39271536
-I would expect empty strings to be ignored in a Count summary.
Yes

-Are you saying they are being included in your total?
No

-Are you using the built-in summary functions (Insert>Summary) or have you created your own formula field?
I use builtin functions

Thank you.
0
 
LVL 1

Author Closing Comment

by:emi_sastra
ID: 39273294
Hi mlmcc,

It works.

Thank you very much for your help.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

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. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
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.

757 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

17 Experts available now in Live!

Get 1:1 Help Now