Showing results for 
Search instead for 
Did you mean: 
New Member

Chart X Axis

I created a dax for sameperiod last year calculation. I put calculation in one chart and sameperiodlat year in Prev Chart. But i want to change X-Axis Values to show last year as well. Like 2019 instead of 2020. Is there any other way like using visual level filter where i change bottom chart to last year. For example when someone select Year-month 2020-08 on slicer the bottom chart give 2019-08. 




Super User III
Super User III

In your Calendar table add a calculated column "Same day last year"  and then use that as the x axis for the bottom chart.

Helpful resources


Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Kudoed Authors