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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
manojk_pbi
Helper V
Helper V

Column Chart sorting

Hello,

 

How do we sort the column chart ? Do we have any option is settings ? In the below image i want the columns to be sorted by Budget, Forecast & Actuals.

 

manojk_pbi_0-1755580553191.png

 

1 ACCEPTED SOLUTION

Hey @manojk_pbi,

 

Create a Sort Order Column

 

  • Add a new column to your data table with the following DAX:

Sort Order =
SWITCH(
[Category_Column],
"Budget", 1,
"Forecast", 2,
"Actual", 3,
999
)

 

 

  • Go to Data view (not Report view)
  • Click on your category column (the one with Budget/Forecast/Actual values)
  • In the ribbon: Column Tools → Sort by Column → Select "Sort Order"
  • Refresh your visual - it will now show Budget → Forecast → Actual in that exact order
  • You must set the sort column in Data view, not Report view
  • The sort column should contain numbers (1, 2, 3) not text
  • Once set, it applies to all visuals using that column

This is the only guaranteed method that works consistently across all Power BI versions and visual types for custom sort orders.

 

Fixed? ✓ Mark it • Share it • Help others!


Best Regards,
Jainesh Poojara | Power BI Developer

 

View solution in original post

5 REPLIES 5
manojk_pbi
Helper V
Helper V

Hi @jaineshp , thanks for your quick support. It worked. 

@manojk_pbi  Always happy to contribute to our community's success!

Best Regards,
Jainesh Poojara | Power BI Developer

jaineshp
Memorable Member
Memorable Member

Hey @manojk_pbi,

In the visual, click the three dots (...)Sort by → Choose your desired field (Budget/Forecast/Actual).

 

jaineshp_0-1755581783552.png



Fixed? ✓ Mark it • Share it • Help others!


Best Regards,
Jainesh Poojara | Power BI Developer

Thanks for your reply. I tried but it will not provide in required order.

It will sort based on Characters, So either Actual or forecast will come first.

I need it to be sorted in Budget, forecast and Actual.

Hey @manojk_pbi,

 

Create a Sort Order Column

 

  • Add a new column to your data table with the following DAX:

Sort Order =
SWITCH(
[Category_Column],
"Budget", 1,
"Forecast", 2,
"Actual", 3,
999
)

 

 

  • Go to Data view (not Report view)
  • Click on your category column (the one with Budget/Forecast/Actual values)
  • In the ribbon: Column Tools → Sort by Column → Select "Sort Order"
  • Refresh your visual - it will now show Budget → Forecast → Actual in that exact order
  • You must set the sort column in Data view, not Report view
  • The sort column should contain numbers (1, 2, 3) not text
  • Once set, it applies to all visuals using that column

This is the only guaranteed method that works consistently across all Power BI versions and visual types for custom sort orders.

 

Fixed? ✓ Mark it • Share it • Help others!


Best Regards,
Jainesh Poojara | Power BI Developer

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.