Reader small image

You're reading from  Data Cleaning with Power BI

Product typeBook
Published inFeb 2024
PublisherPackt
ISBN-139781805126409
Edition1st Edition
Right arrow
Author (1)
Gus Frazer
Gus Frazer
author image
Gus Frazer

Gus Frazer is a seasoned analytics consultant who focuses on business intelligence solutions. With over eight years of experience working for the two market-leading platforms, Power BI (Microsoft) and Tableau, he has amassed a wealth of knowledge and expertise. He also has experience in helping hundreds of customers to drive their digital and data transformations, scope data requirements, drive actionable insights, and most important of all, clean data ready for analysis.
Read more about Gus Frazer

Right arrow

Chapter 11 – M Query Optimization

  1. B – Filtering and reducing data, using native M functions, creating custom functions, optimizing memory usage – These are the four key tips to optimizing M queries
  2. A – Parameters: table, weights, values; the weighted average is calculated by summing the weighted values and dividing by the total weight – The function takes three parameters (table, weights, values) and calculates the weighted average by summing the weighted values and dividing by the total weight.
  3. C – It loads a table into memory once, reducing memory duplication – Table.Buffer is used to load a table into memory only once, reducing memory duplication and improving query speeds on subsequent steps. Note though that it can also have the reverse effect as the initial reading and loading of the data can cause your query to run more slowly.
  4. B – Splits a table into smaller partitions for parallel processing –...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Data Cleaning with Power BI
Published in: Feb 2024Publisher: PacktISBN-13: 9781805126409

Author (1)

author image
Gus Frazer

Gus Frazer is a seasoned analytics consultant who focuses on business intelligence solutions. With over eight years of experience working for the two market-leading platforms, Power BI (Microsoft) and Tableau, he has amassed a wealth of knowledge and expertise. He also has experience in helping hundreds of customers to drive their digital and data transformations, scope data requirements, drive actionable insights, and most important of all, clean data ready for analysis.
Read more about Gus Frazer