Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hi All,
I have some data fields in my dataset which I want to sort in an order.
I have created a calulated column for that but its giving me an error.
any help here?
Segments needed to sort:
Calculated column created:
While sorting getting this error
Solved! Go to Solution.
I created a custom table and then using Merge Queries got the desired result.
Thanks for the update though.
Regards
@Anonymous
You cannot add calculated column for sorting using the same column that we need to sort. You would need to add the sorting column in the backend (datasource or power query) or can create calculated column not using the particular column (here, MARKET_SEGMENT).
I created a custom table and then using Merge Queries got the desired result.
Thanks for the update though.
Regards
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 21 | |
| 18 | |
| 11 |
| User | Count |
|---|---|
| 56 | |
| 54 | |
| 43 | |
| 36 | |
| 34 |