17.2Fitting the measure to the visual’s level of detail

A visual is already built, with its rows. You add a measure to it, and the result is not the one you expected. Often, the calculation of the measure does not work at the right level of detail.

17.2.1The visual already has its level of detail

A Table visual shows the revenue by month, for the year 2024. Each row is a month. That is the level of detail of the visual, its grain.

Year

2024

2025

Table visual, The revenue by month, in 2024
MonthRevenue
Jan'24250,000
Mar'24150,000
May'24100,000
Sep'24100,000
Nov'24150,000
Total750,000

This is a reproduction of the Power BI interface for teaching purposes. It differs from the real interface.

The months with no sales do not appear. You want to add a “Best Month” column, the number of the best month of the year.

The rest of this lesson is part of izyDAX Pro

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