Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
ArchStanton
Impactful Individual
Impactful Individual

Date Formatting

Hi,

 

I want to have my Financial Year formatted like this = 2022-23 instead of 2022-2023

 

I currently have it like this in my date table = 'Date'[Year] & "-" & 'Date'[Next Year] = 2022-2023

 

I have a Next Year Column but when I combine them everything after the "-" is 05?

 

Fin Year = 'Date'[Year] & "-" & FORMAT('Date'[Next Year], "YY")
 
Any ideas anyone?
 
Thanks,
 
 
 
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Assuming 'Date'[Year] is the start year of the financial year this would work.

 

FY new =
VAR trimmed =
    RIGHT ( 'Date'[Year] + 1, 2 )
RETURN
    'Date'[Year] & "-" & trimmed

 

 You could replace 'Date'[Year] +1 with the column 'Date'[Next Year] if that is the end year of each financial year

View solution in original post

4 REPLIES 4
Syk
Resident Rockstar
Resident Rockstar

You can just get the last 2 digits from your next year column. 

Fin Year = 'Date'[Year] & "-" & RIGHT(YEAR('Date'[Next Year]),2)

 

ArchStanton
Impactful Individual
Impactful Individual

thanks but that gives me the 05 problem i described in the original message. The VAR option below works though - thanks for responding!

Anonymous
Not applicable

Assuming 'Date'[Year] is the start year of the financial year this would work.

 

FY new =
VAR trimmed =
    RIGHT ( 'Date'[Year] + 1, 2 )
RETURN
    'Date'[Year] & "-" & trimmed

 

 You could replace 'Date'[Year] +1 with the column 'Date'[Next Year] if that is the end year of each financial year

Brilliant, many thanks for this!!

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.