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

Filtered count

$
0
0


I need to get a "count" of a field in a report, but only if it is a certain value.

 

I need a count of all appointments scheduled for a day, but also a count of how many appointments are "new patients" (shown in the appointment type field)

 

Example:

 

New Patient Appointments/Day                     Total Appointments/Day

 

2                                                                           10

 

 

I tried creating this formula and summing it as a "count", but it isn't working correctly (it is giving me all appointment types, not just new patients)

 

if {Appointment_Types.Abbreviation} in ["New Pt 5", "NP 10", "NP 15"]

  then 1

  else 0

 

 

I also would like to show the results in a crosstab of Monday - Friday (which I already have in this report, but it is currently showing average number of appointments of all types), so I think I can figure out how to create this new crosstab, using that one as a guide.

 

 

Any help is appreciated.


Viewing all articles
Browse latest Browse all 8118

Trending Articles



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