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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Jhadur
Helper I
Helper I

Manual sort of stack column chart

I have created a stacked bar chart that shows the number and status of projects for each executive. Currently it is sorting the status color alphabetically and I need it to sort in Red - Amber - Green order. How can I do that?

 

Jhadur_0-1723645360005.png          Jhadur_2-1723645438979.png       

Jhadur_3-1723645493520.png

Status Color = SWITCH(
    [Overall Status],
    10, "Green",
    20, "Amber",
    30, "Red",
    "Unknown"
)

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Jhadur ,

 

Please try to create a calculated column with number (0-3).

vxiaocliumsft_0-1723688698859.png

vxiaocliumsft_0-1723688728764.png

Status Color = SWITCH(
    [Overall Status],
    10, 3,
    20, 2,
    30, 1,
    0
)

vxiaocliumsft_1-1723688750215.png

vxiaocliumsft_2-1723688756662.png

vxiaocliumsft_3-1723688769703.png

 

Best Regards,

Wearsky

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Jhadur ,

 

Please try to create a calculated column with number (0-3).

vxiaocliumsft_0-1723688698859.png

vxiaocliumsft_0-1723688728764.png

Status Color = SWITCH(
    [Overall Status],
    10, 3,
    20, 2,
    30, 1,
    0
)

vxiaocliumsft_1-1723688750215.png

vxiaocliumsft_2-1723688756662.png

vxiaocliumsft_3-1723688769703.png

 

Best Regards,

Wearsky

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors