Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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?
Status Color = SWITCH(
[Overall Status],
10, "Green",
20, "Amber",
30, "Red",
"Unknown"
)
Solved! Go to Solution.
Hi @Jhadur ,
Please try to create a calculated column with number (0-3).
Status Color = SWITCH(
[Overall Status],
10, 3,
20, 2,
30, 1,
0
)
Best Regards,
Wearsky
Hi @Jhadur ,
Please try to create a calculated column with number (0-3).
Status Color = SWITCH(
[Overall Status],
10, 3,
20, 2,
30, 1,
0
)
Best Regards,
Wearsky