Forum Discussion
JoaoMS
6 years agoHelper III
Sort Colum in Power Query with Month Text
Dear all, I have a table with two columns which shows the exchange rate of two currencies per month. The raw data is like this (spanish): MonthYear ER Ene19 3.332 Feb19 3.304 Mar19...
- Anonymous6 years ago
JoaoMS
You would need to replace the Spanish to English first, because the Power Bi cannot read and sort month from different languages.After all the values are displayed in "19-Jan","19-Feb". You can just change the Data Type from text to date, then sort.
Paul Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
JoaoMS
6 years agoHelper III
Thank you for the quick response, but it seems that is DAX, is it possible to do the same in Power Query?
Regards.
amitchandak
6 years agoSuper User
Refer:https://docs.microsoft.com/en-us/powerquery-m/date-totext
example
Date.ToText(#date(2010, 12, 31), "yyyyMM")