I work with patient satisfaction survey data, and am trying to create a formula that would display the "Top Box" or percent of survey responses that were "strongly agree" (for example, for each doctor or each clinic overall).
So, the raw data basically includes a row for each patient, and includes their doctor, their clinic, and their responses to each question on the survey. The responses are from Strongly Disagree (1) to Strongly Agree (5), and we want to calculate the percent of responses that were "5" out of the total responses.
In SAS, I have to run a query that counts all the responses, then another query that counts all the "5"s, and then calculate a new column/variable that divides the count of 5s by the total count, and that's my Top Box. I don't know how to do this in Crystal, though, because I am very new and do not know much about Crystal syntax.
Any help would be MUCH appreciated!
Thank you!
So, the raw data basically includes a row for each patient, and includes their doctor, their clinic, and their responses to each question on the survey. The responses are from Strongly Disagree (1) to Strongly Agree (5), and we want to calculate the percent of responses that were "5" out of the total responses.
In SAS, I have to run a query that counts all the responses, then another query that counts all the "5"s, and then calculate a new column/variable that divides the count of 5s by the total count, and that's my Top Box. I don't know how to do this in Crystal, though, because I am very new and do not know much about Crystal syntax.
Any help would be MUCH appreciated!
Thank you!