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 nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Trying to sort a column Line Item by Line Item Sort as shown below. Getting an error message and I just can't see why ... I don't see any duplicates
Running a similar table and it works...
Appreciate any help!
Koy
Solved! Go to Solution.
I did a reboot, and now it works as expected. Didn't change anything, so was glitchin the martrix for a bit I guess.
I did a reboot, and now it works as expected. Didn't change anything, so was glitchin the martrix for a bit I guess.
Thank you lbendlin
Hi, @Koy
Your current sort is working. You can share your DAX expression here and mark it as a solution. This way, so that others in the community can quickly find answers to similar problems, reducing the time they spend searching for answers.
Your sharing will work with us to promote the development of the community. Thank you again for your cooperation.
Best Regards
Jianpeng Li
Is that first Line Item a BLANK() or an empty string?
Sorry, misunderstood. The first line item is just an empty cell.
Try without it. I don't think you can sort by BLANK()
No, i mean in the reference/sort table, not in the fact table.
It does not. Sorry I am new to all this, but here is what the output looks like. My replies keep getting deleted as SPAM for some reason.
Based on this measure for the first column...
You seem to be mixing topics. Your original question was about the sorting issue?
Using it to make a table like the below using measures like this
I am using this table to help format this measure as a P&L view similar to this which uses the second table I screenshotted that had no issues....
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 23 | |
| 19 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 60 | |
| 52 | |
| 47 | |
| 40 | |
| 38 |