Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 50 | |
| 43 |