Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi Have a simple problem which I hope someone can assist. Y axis is $ X axis is date (excel spreadsheet date format incl year) Generally an X axis should run chronologically eg: Jan 17 Feb 17 Mar 17 ...... Jan 18 Feb 18 and so on However when I sort by Month it throws the 2018 months ahead of the 2017 eg: Jan 18 Feb 18 Aug 17 Sep 17 Oct 17 ..... and so on Is there a solution to sort the months chronologically on the X axis?
Cheers
Dale
Solved! Go to Solution.
Hi @DaleC,
For X axis, MMM Year column sort by initial letters, so it shows as what you see. Please format your date format as 201701,201702 using the format.
Year-month =
IF (
'Calendar'[Month] <= 9,
'Calendar'[Year] & "-"
& "0"
& 'Calendar'[Month],
'Calendar'[Year] & "-"
& 'Calendar'[Month]
)
It will show desired result.
Best Regards,
Angelia
Hi @DaleC,
For X axis, MMM Year column sort by initial letters, so it shows as what you see. Please format your date format as 201701,201702 using the format.
Year-month =
IF (
'Calendar'[Month] <= 9,
'Calendar'[Year] & "-"
& "0"
& 'Calendar'[Month],
'Calendar'[Year] & "-"
& 'Calendar'[Month]
)
It will show desired result.
Best Regards,
Angelia
Have the X axis column in MMMM YYYY format.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 55 | |
| 45 | |
| 38 | |
| 16 | |
| 14 |
| User | Count |
|---|---|
| 87 | |
| 69 | |
| 38 | |
| 29 | |
| 26 |