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.
Hi,
I am trying to create a matrix to show the months and cost however the month is being sorted in alphabetical order rather than in chronologica order. I need it to show as Jan, Feb, March etc however it is being sorted as April, August, December.
Please could I have some assistance with this.
Thank you
Solved! Go to Solution.
Hi @pardeepd84
Are these two columns both calculated columns? you can duplicate one column and use that column to sort Month column. or add Index column, and use it to sort Month column.
in my test, I use Date column to sort Month column, it works fine.
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
I have tried this but get the following error message:
Hi @pardeepd84
Are these two columns both calculated columns? you can duplicate one column and use that column to sort Month column. or add Index column, and use it to sort Month column.
in my test, I use Date column to sort Month column, it works fine.
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Is your date table a Dax built table or did you do it in power Query? In fact do you have a seperate date table? This is a highly recommended thin to do.
Cicular dependancy means you are using something that is relying on your current measures.
Do you have the column I mentioned for sorting? ie a column that returns the month number in your table? Can you screen grab your date table?
Hi,
Please read this article - Sort one column by another column in Power BI Desktop.
I have tried this by when I create a matrix I get this:
I think I know what it is. you need a column for sort order that you want.
So I have a column called sort and I start the month number from where I want it. So fiscal year I make April
Do you have a date table?
Mine is a DAX one. If so make a new column
Month no = FORMAT('Date table'[date], "M")
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
68 | |
64 | |
52 | |
39 | |
26 |
User | Count |
---|---|
80 | |
57 | |
45 | |
44 | |
35 |