Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports
Viewing all articles
Browse latest Browse all 4814

Count Formula Results

$
0
0

Hi,

 

I created a formula that will categorize the each records from the database based from the condition below.

 

Let say it the formula name is STATUS

 

STATUS could be CLOSED or OPEN as shown in the formula below

 

IF {table.datecolumn}

> CurrentDateTime

THEN 'OPEN'

 

ELSE

IF {table.datecolumn}

< CurrentDateTime

THEN 'CLOSED'

 

I want to know how could I get the total counts of OPEN as well as CLOSED and store them in another formula field.

 

 

OPENCLOSEDTOTAL
Data 1101
Data 2224
Data 3516
TOTAL8311

 

For example. 8 will be stored to OPEN and 3 will be stored to CLOSED.

I am doing this because I want to show how many records are open and how are closed in thru bar chart CHART.


Viewing all articles
Browse latest Browse all 4814

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>