Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have date data with my month and year like below. My problem is that my time series charts are all in the wrong order.
I'm struggling to create a month and year format that will allow me to sort correctly. Any ideas?
Solved! Go to Solution.
@ERing , You can create a new column like
Year month = [Year]*100 + [Month]
Year month Name = format(date([Year], [Month], 1), "MMM-YYYY")
If you want a second one, mark the first as a sort column for the first
How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c
Please read about ISO-8601. The year MUST ALWAYS come first. Ignore at your own peril.
Hi @ERing ,
Please try the following methods and check if they can solve your problem:
1.Create the simple table.
2.Create the month and year column.
YearMonth = FORMAT('Date'[Date], "YYYY/MM")
3.Drag the column into the column chart visual.
4.The result is shown below.
Hi @ERing ,
Please try the following methods and check if they can solve your problem:
1.Create the simple table.
2.Create the month and year column.
YearMonth = FORMAT('Date'[Date], "YYYY/MM")
3.Drag the column into the column chart visual.
4.The result is shown below.
Please read about ISO-8601. The year MUST ALWAYS come first. Ignore at your own peril.
@ERing , You can create a new column like
Year month = [Year]*100 + [Month]
Year month Name = format(date([Year], [Month], 1), "MMM-YYYY")
If you want a second one, mark the first as a sort column for the first
How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
71 | |
38 | |
28 | |
26 |
User | Count |
---|---|
99 | |
88 | |
62 | |
42 | |
39 |