troubleshooting Question

Group when using minimum in Crystal 2008

Avatar of jul_to_cool
jul_to_coolFlag for United States of America asked on
Crystal Reports
15 Comments2 Solutions330 ViewsLast Modified:
I am building a report that should show the patient volume grouped by the dr.  The problem that I am encountering is that there can be more than one dr assigned during the stay (EPISODE_ID}.  The end result of the report should show patient volume and averages based on the first assigned dr for each episode of care. I created this formula and place it into the Group Record Selection:
{DocAssign.EVENT_TIME} = Minimum({DocAssign.EVENT_TIME},EPISODE_ID})

The details show the data correctly when I use this; however, I still need to show the overall data for each attending and not each episode.   Ultimately, I want to group by the attending and then count the {EPISODE_ID}
Any idea how to fix this?
ASKER CERTIFIED SOLUTION
Kurt Reinhardt
Sr. Business Intelligence Consultant/Architect

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 15 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 15 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros