Forum Discussion

jcastr02's avatar
jcastr02
Post Prodigy
5 years ago
Solved

m code - mmm-yy

How can I get a column added in format  "MMM-YY"  using M Code.    I able to do via DAX, but need for m code.   

 

 

  • jcastr02 

    Add the following as a custom column:

    =Date.ToText([Date],"MMMM-yy")

    ________________________

    If my answer was helpful, please click Accept it as the solution to help other members find it useful

    Click on the Thumbs-Up icon if you like this reply ๐Ÿ™‚


    Website YouTube  LinkedIn

2 Replies

  • jcastr02 

    Add the following as a custom column:

    =Date.ToText([Date],"MMMM-yy")

    ________________________

    If my answer was helpful, please click Accept it as the solution to help other members find it useful

    Click on the Thumbs-Up icon if you like this reply ๐Ÿ™‚


    Website YouTube  LinkedIn