cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted

Extract Month and Year from DateTime field to get MMM-YY

I have a date column As of Date in my table Status, I need to extract month and year from this column. How do I do that

1 ACCEPTED SOLUTION

Accepted Solutions
rocky09 Senior Member
Senior Member

Re: Extract Month and Year from DateTime field to get MMM-YY

customDate = FORMAT ( 'TABLENAME'[Date], "MMMYY" )

 

create New Column and use above

3 REPLIES 3
rocky09 Senior Member
Senior Member

Re: Extract Month and Year from DateTime field to get MMM-YY

customDate = FORMAT ( 'TABLENAME'[Date], "MMMYY" )

 

create New Column and use above

Community Support Team
Community Support Team

Re: Extract Month and Year from DateTime field to get MMM-YY

@ApurvaKhatri,

 

You could also add a custom column in Query Editor.

Date.ToText([As of Date], "MMM-yy")
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Re: Extract Month and Year from DateTime field to get MMM-YY

This Date.ToText os not working in my case

 

Helpful resources

Announcements
Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 423 members 4,237 guests
Please welcome our newest community members: