Hello
I appreciate it if you help me.
I have a dataset including all the sales from 2018.
I want to create a matrix in Power BI similar to the below layout.
On the page there is a year selection, each year I choose in the slicer, the data for that year should be displayed by month, and also the target should display the target of the selected year and for the rest of the years, the data should be aggregated and displayed yearly.
and the columns should be sorted ascending. for example, if I choose 2022: the layout should be like the matrix below.
for 2024:
for 2022: