Questions
- What were the four key tips for optimizing M queries discussed this chapter?
- Sorting, filtering, grouping, summarizing
- Filtering and reducing data, using native M functions, creating custom functions, optimizing memory usage
- Conditional formatting, joins, aggregations, pivoting
- Concatenation, union, splitting, transforming
- In the custom function for calculating the weighted average, what are the parameters of the function, and how is the weighted average calculated?
- Parameters: table, weights, values; the weighted average is calculated by summing the weighted values and dividing by the total weight
- Parameters: table, columns; the weighted average is calculated by multiplying values by weights
- Parameters: values, weights, total; the weighted average is calculated by summing the values and dividing by the weights
- Parameters: rows, weights, values; the weighted average is calculated by summing the values and multiplying by the weights
- How can
Table.Buffer
optimize the...