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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Jay2022
Helper III
Helper III

Joining up 2 columns only want the first part of year

QTR Year = 'Fiscal Calendar'[Fiscal Qtr] & " "& " " & 'Fiscal Calendar'[Fiscal Year]
 
Fiscal Qtr = Qtr 1 (etc)
 
Where fiscal year is like so 2023/24
 
 
Curretly shows as Qtr 1 2023/24
 
How do i get it to show like Qtr 1 23/24 ?
 
 
 
 
3 ACCEPTED SOLUTIONS
ronrsnfld
Super User
Super User

Qtr Year = [Fiscal Qtr] & " " & MID([Fiscal Year],3,99)

View solution in original post

Maximum number of characters to return. It doesn't matter if it is greater than the length of the rest of the word. Given your fixed length, it could just as easily be replaced by any number from five (5) or greater. AAMOF, I will change it to five now.

View solution in original post

Your question implies a lack of knowledge as to how functions are used to create formulas. For the MID function in particular, I suggest you do an internet search for the MID function (in the DAX language, as used here). For the creation of formulas from functions, and the use of functions as a component of a formula, I'm afraid I don't have a good resource to recommend. Maybe someone else does.

View solution in original post

8 REPLIES 8
Jay2022
Helper III
Helper III

ant to know what it is doing in this formula please ?

 

Your question implies a lack of knowledge as to how functions are used to create formulas. For the MID function in particular, I suggest you do an internet search for the MID function (in the DAX language, as used here). For the creation of formulas from functions, and the use of functions as a component of a formula, I'm afraid I don't have a good resource to recommend. Maybe someone else does.

Thank you

Jay2022
Helper III
Helper III

and the mid ?

What about MID don't you understand?

Jay2022
Helper III
Helper III

This is great thank you.  For a bit of contect I can tell the 3 says start from 3 values in eg the first 1 in 2016/17 but what does the 99 referenmce please ?

Maximum number of characters to return. It doesn't matter if it is greater than the length of the rest of the word. Given your fixed length, it could just as easily be replaced by any number from five (5) or greater. AAMOF, I will change it to five now.

ronrsnfld
Super User
Super User

Qtr Year = [Fiscal Qtr] & " " & MID([Fiscal Year],3,99)

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors