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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi Jaspreet99
In Power BI, text fields sort alphabetically by default. To apply a custom sort order (High >> Medium >> Low):
1. Create a SortOrder column (numeric) like:
High = 1
Medium = 2
Low = 3
2. Create column:
SortOrder =
SWITCH (
TRUE(),
Categories[Category] = "High", 1,
Categories[Category] = "Medium", 2,
Categories[Category] = "Low", 3,
4
)
3. Select the Category column >> Column tools >> Sort by Column >> choose SortOrder.
Now visuals will show High >> Medium >> Low instead of alphabetical.