Sort month names correctly in Power BI with a numeric sort column for calendar or fiscal reporting.
If Power BI months are not in order, the fix is usually Sort by Column: create a numeric month number, select the month name column in Power BI Desktop's Report view, then set Column tools > Sort by column to the numeric field. For fiscal years, use a fiscal month number rather than the calendar month number.
In 10 years of ERP and reporting work for UK manufacturers, I've seen one issue more consistently than almost any other: months appearing in the wrong order. Finance directors open a dashboard expecting January, February, March... and see April, August, December... instead. The report is technically accurate—the numbers are correct—but the presentation undermines trust before anyone even looks at the values.
The problem is simple but insidious: Power BI sorts text fields alphabetically by default. Month names are text. Unless you explicitly tell Power BI otherwise, "April" comes before "January", "August" before "February", and so on. For organisations using fiscal years—where October might be month 1 and September might be month 12—this default behaviour creates chaos.
This guide shows you exactly how to fix month sorting in Power BI, with production-ready patterns for both calendar months and fiscal months (including October–September years). These are the same approaches I use in real implementations for UK finance and operations teams.
What you'll learn
By the end of this guide, you'll understand why month sorting breaks, know how to create sort columns in DAX or Power Query and where the Sort by column setting lives, be able to implement fiscal month ordering for October–September years, and have a troubleshooting checklist for when things go wrong.
In This Guide
Power BI has no inherent understanding of months. It knows about data types—text, numbers, dates—but it doesn't know that "January" should come before "February". When you put a month name field (like "MonthName" from your Date table) into a visual, Power BI treats it as text and sorts alphabetically.
This creates three specific problems that I see repeatedly:
Calendar months appear as April, August, December, February, January, June, July, March, May, November, October, September. This is technically correct alphabetical sorting but completely wrong for reporting.
Organisations with October–September fiscal years often see their data grouped January–December (calendar order) instead of October–September (fiscal order). Year-to-date calculations are correct, but the visual grouping is misleading.
Auto date/time often gets the blame for alphabetical months, but it is not the cause. The hidden tables it creates hold both a Month column and a MonthNo column, and the built-in Date Hierarchy shows months in calendar order. Alphabetical order comes from a plain text month-name column, either one imported from your source data or one you built with FORMAT. Auto date/time does have real limits: you cannot edit its hidden tables, add fiscal columns to them, or share one across several fact tables. That is why a proper Date table is still the right choice for fiscal reporting.
The solution is the same every time: create a numeric column that represents the correct order, then tell Power BI to sort the text field by the numeric column. Power BI calls this "Sort by Column". It's simple once you've seen it, but it's not intuitive if you've never encountered it.
The fundamental concept
Power BI can sort one column by another as long as both sit at the same level of detail: each month name must map to exactly one sort value. For text fields like month names, we create a matching numeric field and use it as the sort key. The numeric field does not need to appear in the visual.
This is the most common approach—creating a calculated column in your Date table and using it as the sort key. I use this pattern in production models because it's explicit, easy to audit, and performs well.
Your Date table should already have a month number column. If it doesn't, add it:
Month = MONTH([Date])
This returns 1 for January, 2 for February, ..., 12 for December. It's the calendar month number and serves as our sort key.
Again, your Date table probably has this. If not:
MonthName = FORMAT([Date], "MMMM")
This returns the full month name: January, February, etc. It's what displays in your visuals.
Now connect the two columns:
MonthName column in the Data paneMonth (the numeric month column)That's it. Power BI now knows that MonthName should be ordered by the Month column. Any visual using MonthName will display in calendar order.
Critical verification step
After setting Sort by Column, create a simple table visual with MonthName and any measure. If months appear alphabetically, the sort isn't applied. You should see January, February, March... in order. This is the number one mistake I see when reviewing models—developers create sort columns but forget to apply them.
If you create your Date table in Power Query rather than DAX (my preference for production models), add the month number there too. One thing to be clear about: Power Query Editor has no Sort by Column setting. Sorting rows in a query does not control the order months appear in a visual. You still set Sort by column in Power BI Desktop, once, after the column has loaded.
In Power Query Editor, add a custom column and set its data type to Whole Number:
// Custom Column formula:
Date.Month([Date])
Select Close & Apply. Back in Power BI Desktop, go to Report view and select the MonthName column in the Data pane. On the Column tools tab, choose Sort by column and pick your month number column.
The setting is stored in the model, so it survives refreshes. You only need to set it again if the sort column is removed or renamed.
DAX vs Power Query for sort columns
Both approaches give the same result, and both need the same Sort by column step in Power BI Desktop. The only difference is where the numeric column is built. I use DAX when the Date table is already a DAX table, and Power Query when the Date table is built there.
For an organisation with a 30 September year end, the fiscal year runs October to September. The approach is similar but needs a different numeric sequence. October needs to be month 1, November month 2, ..., September month 12.
Add this calculated column to your Date table:
Fiscal Month Num =
IF(
MONTH([Date]) >= 10,
MONTH([Date]) - 9,
MONTH([Date]) + 3
)
Here's the logic: if the calendar month is October (10) or later, subtract 9 to map October→1, November→2, December→3. If the calendar month is before October, add 3 to map January→4, February→5, ..., September→12.
For a different start month, change the numbers. UK universities run 1 August to 31 July, so their version is IF(MONTH([Date]) >= 8, MONTH([Date]) - 7, MONTH([Date]) + 5), which makes August month 1 and July month 12.
You want the display to show the actual month name, not "Fiscal Month 1", "Fiscal Month 2", etc. Use this formula:
Fiscal Month Name =
FORMAT(
DATE(YEAR([Date]), [Fiscal Month Num] + 9, 1),
"MMMM"
)
This is a clever trick: we create a date where the month is our fiscal month number plus 9 (to shift back to calendar months), then FORMAT converts it to the month name. Fiscal month 1 becomes October (month 10), fiscal month 2 becomes November (month 11), and so on.
The process is identical to calendar months. In Report view, select Fiscal Month Name in the Data pane, then choose Column tools > Sort by column and pick Fiscal Month Num.
Now your fiscal months will sort correctly: October, November, December, January, February, ..., September. This is essential for fiscal year reporting where the visual grouping must match the organisation's financial year. If the sort order is right but YTD values still restart in January, check the fiscal YTD Power BI measure.
Common fiscal year mistake
I've seen models where fiscal month names are created but the sort isn't applied—or worse, the sort is applied to the calendar month number. The result is plain calendar order, January to December, with October to December at the end of the axis instead of the start. Always verify your sort columns with a table visual before relying on them in production reports.
Month sorting matters across all visual types. Here's what correct sorting looks like in three common visuals—and how to verify each is working correctly.
Tables are where month sorting problems are most obvious. A well-structured table shows months in chronological order with measures side by side for easy comparison.
How to verify: Create a table with MonthName on rows and any measure as values. Months should appear January→December (or October→September for fiscal). If you see April first, the sort column isn't applied.
Bar charts with months on the x-axis rely on correct sorting for time-based comparisons. A sorted bar chart lets users compare performance across months and spot trends that would be invisible with alphabetical ordering.
How to verify: Create a bar chart with MonthName on the x-axis. The bars should appear left-to-right in month order. Users should be able to scan from left to right and see the progression of time. Alphabetical order would scatter months randomly, making trend analysis impossible.
Line charts for time series data are particularly sensitive to month sorting. The line should connect January to February to March..., not jump randomly between months. Correct sorting ensures the line tells a coherent temporal story.
How to verify: Create a line chart with MonthName on the x-axis. The line should progress smoothly from the first month to the last month in your sequence. If the line zig-zags or appears "broken", your months aren't sorted correctly.
Visual tip: use fiscal months consistently
For organisations using fiscal years, I recommend using fiscal month names consistently across all visuals. This means your x-axis always shows October→September, even for visuals that might not intuitively need it (like a breakdown by department). Consistency helps users avoid cognitive load—they don't need to remember whether this visual uses calendar or fiscal months.
Month sorting issues usually stem from one of a handful of root causes. Use this checklist to diagnose and fix problems systematically.
Troubleshooting Checklist
Sort column created? Verify that you have a numeric month column. Without a numeric column, you can't sort a text field correctly.
Sort by Column applied? This is the most common mistake. Creating the column isn't enough. You must apply Sort by column from the Column tools tab in Report view.
Correct column selected? I've seen developers sort Fiscal Month Name by Month (calendar month number) instead of Fiscal Month Num. This gives wrong results for fiscal years.
Data type correct? The sort column should be a whole number. If the month number is stored as text, 10, 11 and 12 sort before 2.
Using the right month field? The Month level of an auto date/time hierarchy already sorts in calendar order, but you cannot change it to fiscal order. For fiscal months, use the columns from your own Date table. If you no longer need the hidden tables, turn Auto date/time off under File > Options and settings > Options > Current File > Data Load > Time intelligence.
Relationships correct? If your fact table relates to a different Date table (or no Date table), your month names won't use the sort columns you defined. Verify all fact tables relate to your Date table.
Visual using correct field? Sometimes visuals use the wrong field—perhaps a text field from the source instead of the MonthName from your Date table. Check the field being used in the visual.
Visual sorted by something else? A visual keeps its own sort. If it was sorted by a measure, select More options (...) on the visual, then Sort axis, and choose the month field.
"Cannot use this column for sorting" error? Each month name must map to exactly one sort value. Sorting MonthName by a year-month key such as 202601 fails, because January then has a different value in every year. Use a 1 to 12 month number, or build a label that includes the year, such as "Jan 2026", and sort that by the year-month key.
Multiple month columns? Some models have Month, MonthName, FiscalMonth, FiscalMonthName. Ensure you're sorting the correct text column by the correct numeric column for your use case.
Quick test pattern
Whenever I review a model, I create a simple table visual with the month name on rows and a measure on values. If months aren't in the expected order, I know immediately that sort columns aren't applied correctly. This 30-second test catches most month sorting issues before they reach end users.
Small issues with sorting and data modelling compound into bigger problems. A Power BI audit can identify month sorting issues, fiscal year problems, and data modeling concerns before they undermine user trust.
Book a Power BI AuditMonth sorting is one aspect of building robust Power BI reports. For comprehensive fiscal year implementation, see my guide on setting up a custom fiscal year Date Table in Power BI, which covers fiscal year columns, quarters, and time intelligence patterns.
If your Power BI reports are still loading slowly even with correct sorting, read our comprehensive guide on Power BI performance optimisation for practical fixes.
Digital Adaption provides comprehensive Power BI consultancy services including dashboard development, data modeling reviews, and team training. When month order problems trace back to inconsistent source data, unclear field definitions or migration changes, see data management support and data migration support.
Need help with your Power BI implementation? Book a free 30-minute consultation to discuss your challenges and whether I can help. If you want ongoing delivery, see Fractional Digital Partner and the LiquidLipo case study.
If month sorting keeps breaking after an ERP change, migration or manual extract refresh, treat it as a reporting-trust issue. Use post ERP go-live reporting rescue for live report mismatches, or the ERP Data Migration Readiness Review before cutover.
Month names are text, and Power BI sorts text A to Z unless told otherwise, so April comes before January. Create a whole-number month column, select the month name column in Report view, choose Column tools > Sort by column, and pick the month number.
Create a fiscal month number column using IF(MONTH([Date]) >= 10, MONTH([Date]) - 9, MONTH([Date]) + 3), which maps October to 1, November to 2, through September to 12. Create a Fiscal Month Name column, then use Sort by column to sort Fiscal Month Name by Fiscal Month Num. Your months then run October to September.
You can build the month number column in Power Query, but you cannot set the sort there. Power Query Editor has no Sort by Column setting, and sorting rows in a query does not change the order in a visual. Load the column, then set Column tools > Sort by column in Power BI Desktop.
No. The built-in Date Hierarchy from Auto date/time shows months in calendar order. Alphabetical months come from a plain text month-name column that has no sort column set.
Check: (1) Sort by column has been applied, not just the column created, (2) you're sorting by the correct numeric column, (3) the sort column is a whole number, not text, (4) each month name maps to one sort value only, (5) your visual is using the month name from your Date table, not a text field from source data, and (6) the visual itself is not sorted by a measure.
If several reports use different month labels, fiscal periods or ERP extract fields, the problem is not just Sort by Column. Review the Date table, source fields and reporting ownership through reporting rescue before each dashboard invents its own fix.
Whether you're fixing month sorting issues, implementing fiscal years, or building a full Power BI reporting solution, I work with UK organisations to create robust, user-friendly dashboards that stakeholders trust.
Book a Free 30-Minute ConsultationIf users keep finding small Power BI errors, the underlying issue is often weak model ownership, inconsistent ERP extracts or a migration change that was never reconciled. Start with reporting rescue or a readiness review before rebuilding more visuals.
View reporting rescue Check migration readiness
If the DAX pattern is only one symptom and the real issue is reporting trust, start with a Power BI Reporting Trust Review. I trace the model, source data, fiscal logic and reconciliation checks before rebuilding dashboards.
View Power BI consultant UK View reporting rescue
Written by Matty Hatton, Digital Adaption. Last checked 8 October 2026.
Matty Hatton is the founder of Digital Adaption, an ERP and data consultancy based on the Wirral. He has spent 10 years delivering ERP transformations for manufacturers, including leading the data migration on a £4m consolidation of four legacy systems onto a single Infor LN cloud instance for a 220-user group. He holds an MSc in Digital Transformation and IT Strategy from Manchester Metropolitan University and is Microsoft PL-200 certified.
Services Guides About Contact