Creating measures in views
Measures in Looker are aggregations of one or more dimensions (or unique attributes of the data) such as a count or average. They are used to calculate key performance indicators (KPIs) and help business users analyze data using different aggregated attributes. Three of the most common measure types are sum
, average
, and count
. Measures represent the quantitative information in Looker.
By combining measures and dimensions, you can create visualizations and dashboards that help you understand both the quantitative and qualitative aspects of your business.
When you create your LookML project and choose Generate Model from Database Schema, Looker will automatically create Count
measures for your tables (views). In Your LookML environment, go and check what are the measures that were created in your views. For example, the following measures in distribution_centers.view
might not be relevant for your data exploration and might not make sense at all: