19.1A calculation placed on the visual

You have already written many measures. Visual calculations are a recent way of writing DAX in Power BI. You write them on a visual, and they calculate from what the visual shows.

19.1.1What a visual calculation is

A visual calculation is written on one specific visual, not in a table. Its formula refers to the fields of the visual, such as [Revenue] or the column of the years.

To create one, select the visual, then click “New visual calculation” on the ribbon. An editor opens, with the grid of the visual’s data and a formula bar.

It sees only what the visual shows. It knows neither the other tables nor the hidden rows. That is what makes it simple. There is no filter context to work out, since the grid is right in front of you.

The rest of this lesson is part of izyDAX Pro

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