Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
SanderVeeken
Helper III
Helper III

Sorting a column two different ways

I have a case where I have to sort the x-axis of a stacked column chart two different ways; in one case (fiscal year) I want to display the month names sorted by month number, in another case, I want to display them by schoolyear order (starting in August and ending with July).

 

I have a "schoolmonth" column and I can easily set "month name" to sort by schoolmonth. However, then I run into trouble for the "fiscal year" graph where I want the "normal" sort order by regular month number. Is there some provision for this, or a clever way I'm missing? The only workaround I can think of is to duplicate the month name column and call it fiscal month name or something, and sort that one by month number.

1 REPLY 1
MFelix
Super User
Super User

Hi @SanderVeeken ,

 

You can't sort the same column by two different columns, my experience with calendar table that have a fiscal year and a calendar year I always have the calendar columns (year, months, quarter) and the fiscal ones, in this case believe that you need to have this duplication of the month name and of the fiscal month name.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.