Adds support for power scales.
Refactors Metric and Query to generate a materialized dataset of filtered rows and columns in one pass.