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

Looking for a way to get a Count on a Group which is a Date

$
0
0

I'm trying to pull a report with Average Hydrant Inspections completed per day.

 

I've got the Report Grouped by Date and I have my Distinct Count for # Completed.

The problem is to get the Average I need a Distinct Count of the # of Days and you can't do a Sum on a Group (it isn't an option).

Every Date in the database has time included in the Date so every entry is actually Distinct and my Distinct Count comes up the same as my Total # of Inspections.

 

I'm looking for some ideas on how to get around this. I thought about using the TRUNCATE but from what I see that is no different then Filtering the Column and I get the same answer. I've done the math Manually for now but would like to get this to work as we could use this for just about every Feature we use. If I could get the report to work, I could load it on the Superintendents Desktop and they could run it whenever they want.

 

I appreciate any suggestions anyone might have.

 

Thanks,

Ellen


Viewing all articles
Browse latest Browse all 4814


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