Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am creating a DataFlow in Power Apps.
My Query is pulling from two SPO lists
I have been able to add a column based on the date in another. This new column is called MonthNumber.
I am trying to convert the month number into MONTH.
I have tried the following:
Solved! Go to Solution.
It looks like you are trying to use DAX functions in Power Query, which uses the M language.
Generally, it's easier to get the month string from a date field but you can make the number into a date first:
Date.ToText(#date(2000, [MonthNumber], 1), "MMM")
(The choices of year and day in the #date are arbitrarily chosen.)
Thank you that is it!
How do I mark your post as the solution?
There should be an Accept as Solution button next to the Kudos (thumbs up) and Reply button.
If you don't see these options, I can also accept the solution on your behalf.
It looks like you are trying to use DAX functions in Power Query, which uses the M language.
Generally, it's easier to get the month string from a date field but you can make the number into a date first:
Date.ToText(#date(2000, [MonthNumber], 1), "MMM")
(The choices of year and day in the #date are arbitrarily chosen.)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.