Forum Discussion
Sorting the date table and it reflection on line graph
- Anonymous5 years ago
hi Dunner2020 - You need to follow the below steps to sort the month column by Month number. If you follow the below steps the data should be displayed in the month order that you require.
Please mark the post as a solution and provide a 👍 if my comment helped with solving your issue. Thanks!
Dunner2020 , Sort column for
Month for FY April to March //File is attached after Signature
Month = format([Date], "MMM")
Start Of Year= STARTOFYEAR('Date'[Date],"3/31")
Month Sort = DATEDIFF('Date'[Start Of Year], 'Date'[Date],MONTH)+1 // mark this as sort column
for CY
Month = format([Date], "MMM")
Month Sort = format([Date], "MM") // mark this as sort column
For Month Year
Month = format([Date], "MMM-YYYY")
Month Sort = format([Date], "YYYYMM") // mark this as sort column
Refer Steps :https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column
In case you have FY other than