Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I am trying to change the format of my Month column to "MMM" format using the DAX query FORMAT(Sales([MONTH]), "MMM").
I am getting the below error.
Right now values in my month column is in below format.
Please suggest the right way to achieve this.
Thanks.
Solved! Go to Solution.
Hi,
I am not sure if you have date_column in the table, but I suggest like below.
Please check the attached pbix file.
- if you have date column in the table, try using Date.ToText function in Power Query Editor.
Date.ToText - PowerQuery M | Microsoft Learn
- if you want to use full_month_name column, try using Text.Start function in Power Query Editor.
Text.Start - PowerQuery M | Microsoft Learn
MonthShortMeasure = FORMAT(SELECTEDVALUE([YourDateColumn]), "MMM")
This one of the way to change the Month name to "MMM" format
Hi,
I am not sure if you have date_column in the table, but I suggest like below.
Please check the attached pbix file.
- if you have date column in the table, try using Date.ToText function in Power Query Editor.
Date.ToText - PowerQuery M | Microsoft Learn
- if you want to use full_month_name column, try using Text.Start function in Power Query Editor.
Text.Start - PowerQuery M | Microsoft Learn