Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi there, I want to sort the company name column by order number column, but the case is that e.g. for name Company X I have for version A order number 4 and for version B order number 5 (in the table we have several versions of hierarchy). Power BI can’t handle it, because each name must have only one unique order number.
I found a workaround for this:
The sorting that I set up in step 2 remains and works, and theoretically should‘t, because one name now has more sort numbers.
Does someone know, if it is possible in my situation to sort the column in the above described way or it may happen that the sorting will be suddenly set to default or we receive error message the next time the data is loaded?
Solved! Go to Solution.
@Anonymous,
That should work since the validation occurs only once. After the validation is successful, the sorting will continue for additional rows.
Proud to be a Super User!
Hi @Anonymous ,
When you click Close &Apply in the power query, power bi desktop will provide a dialog box display status,
When the loading is completed, power bi will save the state of your loading at this time as a .pbix file for later use
You can also directly splicing the parent level field and the child level field to form a new field for sortby
Company&Version = 'Table'[Company]&" "&'Table'[Version]
Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous,
That should work since the validation occurs only once. After the validation is successful, the sorting will continue for additional rows.
Proud to be a Super User!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 36 | |
| 31 | |
| 29 | |
| 26 |