Forum Discussion
averilboyle
9 years agoFrequent Visitor
Month Name in sorting order in Direct Query
Hi I have a direct query where I have added a new column from the date field. In this column I have the following formula: MonthName = SWITCH(MONTH(Query1[Date Raised]),1,"January",2,"Februa...
- 9 years ago
Hi,
Create a column that is xxx = month(query1[date raised]))
Idk if you already have it already, if you have it, no need to create it :D, and then, you just need to sort the MonthName by the column that gives the month number :P
TomMartens
9 years agoSuper User
Maybe this will help - hopefully:
https://community.powerbi.com/t5/Desktop/DirectQuery-Sort-Data-by-Week-Day/m-p/97676#M41146
averilboyle
9 years agoFrequent Visitor
All working now; the month no. column was what was missing :)