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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Kudoed Authors