21.1VertiPaq in three ideas

VertiPaq is the engine of Power BI. It keeps your tables in memory and calculates your measures. You have nothing to set up, but understanding it explains why a model is light and fast, or heavy and slow.

Three ideas are enough. Each one ends with a simple habit, worth keeping for your own models.

21.1.1It reads columns, not rows

In “Excel sees rows, Power BI sees columns,” you saw that Power BI stores each column separately. VertiPaq takes advantage of this.

Take the revenue of product A201. To calculate it, VertiPaq needs two columns, “Product Code” to find the product and “Amount” to add up. The “Customer ID” column stays closed.

Product CodeA101A202A201A102A201A101A202A102A201A202A202A102
Customer ID · closedC001C002C004C005C006C001C003C002C004C005C007C006
Amount250,000150,000100,000100,000150,000200,000150,000150,000150,000150,000100,00050,000

VertiPaq opens only the columns the calculation needs, without reading the rest of the table.

Tip

A column that nobody uses still stays in memory, and makes the file heavier. Before loading a table, keep only the columns you need, and remove the others in Power Query.

The rest of this lesson is part of izyDAX Pro

You have just read the first section. The next 3, their animations, the exercises and the summary are waiting for you with izyDAX Pro, in a single payment.