Say I want to create a query or report with average prices for different machine models. However, some machines with the same model can have a different weight. So I want it to group average prices according to a range of values for each model.
So I would have a row for each model that shows the average for all models, and below that the averages for each range of weights.
I only know how to group according to the grouping function in design view, but that only groups according to specific values, not ranges.
So I would have a row for each model that shows the average for all models, and below that the averages for each range of weights.
Code:
Model1 averages for all Model1 machines
0-500kg averages for this weight range of Model1 machines
501-1000kg averages for this weight range of Model1 machines
1001-2000kg averages for this weight range of Model1 machines
Model2 averages for all Model2 machines
0-500kg averages for this weight range of Model2 machines
501-1000kg averages for this weight range of Model2 machines
1001-2000kg averages for this weight range of Model2 machines
I only know how to group according to the grouping function in design view, but that only groups according to specific values, not ranges.