I need help with a percetage query.
thread183-1330035 seemed to be close, but didn't quite work the way I need it to. It used the total count, not the count for a specific unit.
I need to pick the units that report a certain value in a certain field more than 20 percent in a given timeframe. Each unit may submit a differnt number of reports.
What I basically want is to divide the number of "bad" reports by the total number for each unit and attach that percentage to the master unit table.
I'm not sure I can do this in one query and would appreciate feedback on the best way to accomplish my goal.
Thanks!
thread183-1330035 seemed to be close, but didn't quite work the way I need it to. It used the total count, not the count for a specific unit.
I need to pick the units that report a certain value in a certain field more than 20 percent in a given timeframe. Each unit may submit a differnt number of reports.
What I basically want is to divide the number of "bad" reports by the total number for each unit and attach that percentage to the master unit table.
I'm not sure I can do this in one query and would appreciate feedback on the best way to accomplish my goal.
Thanks!