How to create a Summary Table in Power Query with aggregated values of the original data source without importing the entire data into Excel
A frequent use case of Power Query (aka Get and Transform) is to connect to an external, big data source, filter and remove data in a query and load only a fraction of all rows into the Excel workbook.
This will ensure you only carry along the parts of the data in your workbook you really need and will thereby keep the size lean and the performance fast.
Although you do not need the original data on row level in your workbook, you might be interested in a couple of aggregated measures of the original data table, e.g. the total sum of a column, the count of rows, the distinct count of entries (unique values) in a column, etc.
Today’s post explains how to create a Summary Table with defined aggregations on the original data without loading the entire source. The key of the solution is the M-function #table.
As always, the post comes with an example workbook for free download.
Recent Comments