cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sean-OReilly
Helper III
Helper III

need to trim a month year formula

Hi

I am using the below formula and i get the following result = 4-2019

i want the result to be a shortened version of year, so result wanted = 4-19

how do i achieve this?

 

Sean-OReilly_0-1613222697936.png

 

1 ACCEPTED SOLUTION
CNENFRNL
Community Champion
Community Champion

@Sean-OReilly , supposing the PURCHASEORDERS_ORDERS[DELIVERY_DATE] column is date format, you might want to try,

 

M-YY = FORMAT( PURCHASEORDERS_ORDERS[DELIVERY_DATE], "M-YY" )

 

Screenshot 2021-02-13 143821.png

View solution in original post

2 REPLIES 2
Sean-OReilly
Helper III
Helper III

thanks @CNENFRNL 100% the right answer

 

CNENFRNL
Community Champion
Community Champion

@Sean-OReilly , supposing the PURCHASEORDERS_ORDERS[DELIVERY_DATE] column is date format, you might want to try,

 

M-YY = FORMAT( PURCHASEORDERS_ORDERS[DELIVERY_DATE], "M-YY" )

 

Screenshot 2021-02-13 143821.png

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.