Extract the Month formatted as "MMM" from a date field (column)

ekaplan323

New member
Joined
May 25, 2016
Messages
2
Reaction score
0
Points
0
Using Excel Power Query, I want to extract the Month formatted as "MMM" Text like Jan from a date field contained in the data as a column. Attached is the file and the Query. I created a Month column and entered Jan but I want to be able to extract and display that from the date in the Coumn 4 of the data. (See attached file).

Thanks, Eric
 

Attachments

  • doc-link Template Working File.xlsx
    30.9 KB · Views: 45
Hi Eric,
Change your #"Added Month" step to this below.
Code:
#"Added Month" = Table.AddColumn(#"Removed Columns", "Month", each DateTime.ToText([Column4],"MMM", "en-US"))

Regards :)
 
Back
Top