Forum Discussion

Arthur_NS's avatar
Arthur_NS
Helper I
4 years ago

Evolution with condition

Hi all,

 

I have a pretty straightforward table with 3 columns:

Year | Number of sales | YOY

 

Basically what I would like to do is calculate the YoY evolution of sales.

The only twist is that when the Year selected is 2022, then only rows with "Yes" in column YOY should be considered.

Any idea how to construct this DAX formula?

Thanks a lot,

Arthur

13 Replies