E Kelly Posted February 24, 2007 Posted February 24, 2007 I'm sure this is going to be a "duh" when I get the answer, but I'm having total brain lock on this one. I have a summary report of therapist stats subdivided by month, with summary fields totaling how many notes were rejected by supervisor, rejected by QA, were unbillable, etc. There is also a calc field, note_problem, which returns 1 if any of the various possible problems is present in a given note. I want a summary of what percentage of their notes for the month have problems. For example, if a therapist did 50 notes in January, and 12 of them had problems, the Percent_Problems field would return 24%. Fiddling around with summary fields and the Sum function has gotten me nowhere. Help!
RodSierra Posted February 24, 2007 Posted February 24, 2007 make a calc field and divide summary total of problems by summary total of notes, set format of field to percent.
E Kelly Posted February 24, 2007 Author Posted February 24, 2007 make a calc field and divide summary total of problems by summary total of notes, set format of field to percent. This works great (and is what I did) if I just want a percent for all problem notes in general, but I want it for each individual therapist for each individual month. Right now my report has the exact same percentage (the percentage for all therapists for all found records) on each line.
RodSierra Posted February 24, 2007 Posted February 24, 2007 (edited) Then you need to setup a self relationship for therepist and do an aggregate sum from that related field. Edited February 24, 2007 by Guest
comment Posted February 24, 2007 Posted February 24, 2007 I don't think that would work well, considering that relationships ignore found sets, and that the sub-summary is by month. Try a calculation field = Get Summary ( sCountProblems ; cMonth ) / Get Summary ( sCountNotes ; cMonth )
RodSierra Posted February 24, 2007 Posted February 24, 2007 I read over and missed the by month. I stand corrected.
E Kelly Posted February 24, 2007 Author Posted February 24, 2007 I don't think that would work well, considering that relationships ignore found sets, and that the sub-summary is by month. Try a calculation field = Get Summary ( sCountProblems ; cMonth ) / Get Summary ( sCountNotes ; cMonth ) Thanks so much -- that did the trick!! :
Recommended Posts
This topic is 6875 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now