Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8594

Re: Count Formula for a Distinct Count Column?

$
0
0

WhilePrintingRecords;

 

numbervar final_count;

 

If DistinctCount (DistinctCount ({tblPurOrdersHis.db_DateRec), (tblPurOrdersHIs.db_PONo})> 1 then

 

  final_count := final_count + 1;

 

 

**I modified the group & filed selection to the include the actual field for my distinct count.  It was not 'liking' my formula when I was using the table groups alone for the DateRec and PO No selections.  That'd be the lone modification from your suggested formula that I made intentionally.

 

Let me know what you think. Thanks in advance!

Eric


Viewing all articles
Browse latest Browse all 8594


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