Hello
There are a ton of things out there showing how to compare to prior year but all of the ones I have seen show the date going down the left margin.
Unfortunately this will not work for my needs. I am trying to make a matrix in Power BI that will show each of my 17 product lines in the first column, current month sales in column 2, prior year same month in column 3, and variance for column 4. I thought I had it and was able to get a full matrix with all dates but when I filter to the current month there is no data in the prior year same month column. Below is my desired look.
Also ideally when you opened the report it would show the most recent month.
Thank you for any help you can provide.
There are a ton of things out there showing how to compare to prior year but all of the ones I have seen show the date going down the left margin.
Date | Total Sales | Last Year Total Sales |
1/1/20 | 200 | 150 |
1/2/20 | 300 | 100 |
1/3/20 | 1000 | 100 |
Unfortunately this will not work for my needs. I am trying to make a matrix in Power BI that will show each of my 17 product lines in the first column, current month sales in column 2, prior year same month in column 3, and variance for column 4. I thought I had it and was able to get a full matrix with all dates but when I filter to the current month there is no data in the prior year same month column. Below is my desired look.
Product | 2020.Jan | 2019.Jan | Variance |
Product 1 | 100 | 50 | 50 |
Product 2 | 50 | 100 | (50) |
Also ideally when you opened the report it would show the most recent month.
Thank you for any help you can provide.