Need to calculate a column average - please help!

End Goal: Compare Q4 rep averages to Q1 rep averages in 3 specific columns. 

This seems like it should be so simple - I have a bunch of columns, and just need to calculate a single column average. The only workaround I’ve found is to export everything and calculate in excel, but I’ve been asked to use Looker instead of excel.

Have poured through videos and community articles - THIS was the closest match I found, but when I tried to use the suggested sum(${parts_cost_per_visit})/count(${parts_cost_per_visit}) it just kept giving me an error message.

Please help! This has sucked HOURS of my day 😞

0 1 8,713
1 REPLY 1

mitchg
Participant I

if you are just trying to average a single column/dimension, and have access to LookML development, you should just be able to use an “average measure”: https://docs.looker.com/reference/field-reference/measure-type-reference#average

Top Labels in this Space
Top Solution Authors