Hello.
Can someone help with this? Even an explosion of my current plan would be great as I'm not sold on it!
Here goes....
Employees can choose their top 5 favorite items. Want to display enterprise top 5. However, want to give weight to both highest rank and highest average position. For example, an item can be listed #1 on 5 surveys and not at all on 5 other surveys. Want to weight appropriately so both factors are taken into account - that is averages #1 when listed but also was not listed on 5 lists.
Besides data about each choice , currently have two columns - total points & times_chosen.
Total points - every 1st place choice gets 5 points added to total, 2nd place choice gets 4 points added to total, 3rd->3, 4th->2, 5th->1.
Times_chosen - every time a choice is chosen, times_chosen = times_chosen + 1.
Average Place can be computed by dividing total point by times_chosen.
Can easily do an order by total_point desc in order to rank top to bottom.
Can anyone give an easy way to create a column for this computation?
overall_rank = (total_points place) + (average_place) where total_points place equals the position when ordered desc.
Does this make sense? Obviously it is convoluted and I can't think around this. there has to be an easier way. Any ideas?
I want to pull one query that has the choices ordered by an average of total_points place and average_place position. Any help would be great. Thanks.