Hi Folks,
I am having a challenge with DAX calculation. I’d like to show a chart for YoY sales % change based on the year I select. The year is fiscal year, so it is a text. I have a measure to calculate Prior Year sales and Current Year sales. I am using Selectedvalue to get filter value so I am expecting current year sales and previous year sales will be changed based on the year I select from filter dynamically, however, it looks like there is a problem with my measure “Prior Year Sales”, it does not change based on the fiscal year I select. This topic could have been discussed and solution might have been post on the forum. If you know the post, could you please point me to the right direction? If not, could you please check what is wrong with my solution?
Attached you will find my PowerBI file.
Thanks!
Mike
test.pbix (31.3 KB)