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

Optimizing memory usage

Managing memory usage is vital for query optimization. Let’s consider an example where you’re dealing with a large dataset with repeated data. Instead of creating multiple copies of the same data, we can explore the Table.Buffer function.

This function loads a table into memory once, reducing memory duplication, which can lead to improved query speed, especially for large datasets with repeated data. This optimization can result in more efficient use of system resources and better overall performance during data transformation and analysis tasks.

On the other hand, though, there are some potential drawbacks to be aware of. One significant downside is that using Table.Buffer can actually slow down performance in certain scenarios.

One reason for this is that it loads the entire table into memory at once. For very large datasets, this can consume a significant amount of memory resources, potentially leading to memory pressure and slower...

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