C
ChadNick
I am making a system to show why employees are leaving a company, based on a
five-point system. 1 being an important reason, 5 being unimportant. At the
moment, an employee will, upon leaving, be asked to fill in an electronic
questionaire.
As an example, let me say that their are 3 fields, [Pay], [Argument],
[Retirement]. (Brackets for ease of reading.
So for example, if I was leaving the company due to being underpaid, I would
put a 1 for Pay, a 3 for Argument since I don't like my boss, and a 5 in
retirement.
My question is this; how can I create a query to display the average reasons
people have said they are leaving, in ascending order? Since if each record
is summed, then divided by the total number of records in the database, the
lowest value will be the most important reason.
I currently have a query, showing for each field, the Sum of values in that
field, and a count of records. I can then make a query to show for each
field, what the average is. But how can I then display these values in a way
that can be sorted?
five-point system. 1 being an important reason, 5 being unimportant. At the
moment, an employee will, upon leaving, be asked to fill in an electronic
questionaire.
As an example, let me say that their are 3 fields, [Pay], [Argument],
[Retirement]. (Brackets for ease of reading.
So for example, if I was leaving the company due to being underpaid, I would
put a 1 for Pay, a 3 for Argument since I don't like my boss, and a 5 in
retirement.
My question is this; how can I create a query to display the average reasons
people have said they are leaving, in ascending order? Since if each record
is summed, then divided by the total number of records in the database, the
lowest value will be the most important reason.
I currently have a query, showing for each field, the Sum of values in that
field, and a count of records. I can then make a query to show for each
field, what the average is. But how can I then display these values in a way
that can be sorted?