Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I'm working on some time series data that uses a PREVIOUSYEAR function for YoY change at the year level. Keeping the year as a date type lets me do the previous year calculation but the x-axis label is obviously the year. What I'd like to be able to do is keep the results as is but show the academic year on the x axis instead of the year label. So 2016 would be ACAD16/17 and 2017 ACAD17/18 etc. I don't need to worry about the year start/end as it's just a single date I'm looking at in each year (entry date of students).
Does anyone know of a way that lets me display a proxy value on the axis label or a way of working with ACAD16 while keeping the structure attributed by a date format?
Solved! Go to Solution.
As you are working on PREVIOUSYEAR, so supposing you already have a good Date table, you just need to add a calculated column in your Date table, the code is like this:
ACAD =
"ACAD"&YEAR(Date[Date])&"/"&(YEAR(Date[Date])+1)
Then put the Date[ACAD] to your X axis.
As you are working on PREVIOUSYEAR, so supposing you already have a good Date table, you just need to add a calculated column in your Date table, the code is like this:
ACAD =
"ACAD"&YEAR(Date[Date])&"/"&(YEAR(Date[Date])+1)
Then put the Date[ACAD] to your X axis.
Thanks Freeman. This worked a treat!
for anyone else looking to do similar. If you want the time series to be in order you'll also need to sort your date table by the ACAD year column. similar to this
https://community.powerbi.com/t5/Desktop/Month-Name-in-sorting-order/m-p/152006
Try this example for fiscal year and adapt it for accademic year ...
Click new table and
Add 1:M relationship from calendar date to uour fact table date.
Add news measures ..
Sales = SUM(tablename[amount])
Sales this fiscal year = CALCULATE( Sales, 'Calenadr'[Fiscal year offset] = 0)
Sales previous fiscal year = CALCULATE( Sales, 'Calenadr'[Fiscal year offset] = -1)
Please do all these free power BI calendar traing courses, escepcually the one about offsets
All Power BI reports use dates, so this training is really important.
Thanks for reaching out for help.
I put in a lot of effort to help you, now please quickly help me by giving kudos.
Remember we are unpaid volunteers and here to coach you with Power BI and DAX skills and techniques, not do the users job for them. So please click the thumbs up and accept as solution button.
If you give someone a fish then you only give them one meal, but if you teach them how to fish then they can feed themselves and teach others for a lifetime. I prefer to teach members on this forum techniques rather give full solutions and do their job. You can then adapt the technique for your solution, learn some DAX skills for next time and soon become a Power BI Super User like me.
One question per ticket please. If you need to extend your request then please raise a new ticket.
You will get a quicker response and each volunteer solver will get the kudos they deserve. Thank you !
Hi Speedramps,
I've got the offsets sorted out already. My question is more related to the labelling. I can't use the ACAD date column as it's not a date series but I do want it as an x-axis label. Does that make sense?
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.