This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi,
Below is my data for which I want to create line chart.
However, the line chart I created is showing months in an incorrect manner - neither ascending or descending.
Can you guide how can it be corrected?
Solved! Go to Solution.
Like the link I have sent, you must add a column with the number of the month. You can build a logic checking the name of each month in order to set the number. This video might help.
https://www.youtube.com/watch?v=NlX7Cp2P0d4
Remember you can add a custom column at Power Query or DAX to build the IF or Switch logic for mapping the months.
I hope that make sense
Happy to help!
Hi Ibarru,
I tried modelling and sorting BUT data is not getting sorted by Weeks/Months instead by Revenue.
Regards
Malvika
Hi. In order to let power bi understand that the order of the months is not alphabetical, you must have the number of the months to specify the order. You can do it adding a column or creating the calendar table and relate it. Check this example of how to order by other column:
https://community.fabric.microsoft.com/t5/Desktop/How-to-get-line-chart-sorted-by-month/td-p/3241078
I hope that helps,
Happy to help!
Hi Ibaru,
I sorted it Week wise, and here still is uneven output in terms of Week.
Regards
Malvika
Hi,
Why am I not getting the option of COLUMN TOOLS to sort month-wise?
Regards
Malvika
Like the link I have sent, you must add a column with the number of the month. You can build a logic checking the name of each month in order to set the number. This video might help.
https://www.youtube.com/watch?v=NlX7Cp2P0d4
Remember you can add a custom column at Power Query or DAX to build the IF or Switch logic for mapping the months.
I hope that make sense
Happy to help!
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 8 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 49 | |
| 27 | |
| 24 | |
| 20 | |
| 20 |