Forum Discussion
Sorting characters after numbers
Hi,
Please try to change the original measure to this:
Measure = SUM('Table'[Sales])*0.5+0
Then enter this to measure custom format in Model Pane:
#,#.00;#,#.00;"-"
Sort the table by this measure, it shows:
Tips: If you have more than one specifical character like '-', this workaround can not take effect.
And i think there is no other easier solution to solve this issue.
Here is my changed pbix file:
Best Regards,
Giotto Zhi
v-gizhi-msft I'm not sure what you did. But, did you replace dashes with zeros and then format zero to be a dash? I don't think that will work when my measure takes negative values. I would love to have a table sorted natively like this:
| 10 |
| 4 |
| 0 |
| -12 |
| -19435 |
| - |
| - |
I guess it is not possible to customize the default order.
- v-gizhi-msft6 years agoCommunity Support
Hi,
I think there is no other easier solution expect my first reply.
Best Regards,
Giotto Zhi