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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
The goal is to have a blank value anchored at the bottom of a table. Scenario for context: orders can be placed and will be sit in a queue until assigned to an employee. If an order has not been assigned to an employee, it is just blank. Below is sample data along with current output + expected output.
Your support is greatly appreciated.
Current Output (notice Employee = "Blank" / Orders Assigned = 100)
| Employee | Orders Assigned |
| 100 | |
| Michael Jordan | 23 |
| Steph Curry | 12 |
| Luka Doncic | 11 |
| Zach Levine | 9 |
| Total | 155 |
Expected Output (notice Employee = "Blank" / Orders Assigned = 100)
| Employee | Orders Assigned |
| Michael Jordan | 23 |
| Steph Curry | 12 |
| Luka Doncic | 11 |
| Zach Levine | 9 |
| 100 | |
| Total | 155 |
Solved! Go to Solution.
@Anonymous ,
Please see if this works for you. Create a Calculated Column:
Sort Order = SWITCH(
TRUE(),
Sort[Employee ] <> BLANK(), RANKX(Sort, [Orders Assigned],, desc),
99 )
You can change the 99 to a higher number if you need to.
EmployeeOrders AssignedSort Order
| Michael Jordan | 23 | 2 |
| Steph Curry | 12 | 3 |
| Luka Doncic | 11 | 4 |
| Zach Levine | 9 | 5 |
| 100 | 99 |
Then use the "Sort by Column" tool to sort [Orders Assigned] by [Sort Order]
Regards,
@Anonymous ,
Please see if this works for you. Create a Calculated Column:
Sort Order = SWITCH(
TRUE(),
Sort[Employee ] <> BLANK(), RANKX(Sort, [Orders Assigned],, desc),
99 )
You can change the 99 to a higher number if you need to.
EmployeeOrders AssignedSort Order
| Michael Jordan | 23 | 2 |
| Steph Curry | 12 | 3 |
| Luka Doncic | 11 | 4 |
| Zach Levine | 9 | 5 |
| 100 | 99 |
Then use the "Sort by Column" tool to sort [Orders Assigned] by [Sort Order]
Regards,
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 47 | |
| 39 | |
| 24 | |
| 23 |
| User | Count |
|---|---|
| 144 | |
| 106 | |
| 63 | |
| 38 | |
| 31 |