Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
In a column chart I have numerical values (representing location codes) ranging from 00 to 100. It is sorting the list ascending from left to right except it is placing 100 in between 09 and 11. It is as if it's ignoring the 3rd digit and treating it as 10.
Solved! Go to Solution.
Hi @jdubs
You can creat a seperate sorting table.
For text values that are not regular, you can define their ordering in the table.
If you still have some question, please don't hesitate to let me known.
Sample data and expected output would help tremendously.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
Hi @jdubs,
Is your issue solved?
If you still have some question, please don't hesitate to let me known.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
Hi @jdubs
You can creat a seperate sorting table.
For text values that are not regular, you can define their ordering in the table.
If you still have some question, please don't hesitate to let me known.
Sample data and expected output would help tremendously.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
Yes, creating the seperate sorting table did the trick. Thanks!
I tried using the formula in this post (https://community.powerbi.com/t5/Desktop/Number-sorting-in-text-format/m-p/237256) but was getting circular dependency errors. Creating a seperate Sorting table seemed to do the trick: (https://endjin.com/blog/2020/07/quick-tip-updating-the-sort-order-of-a-column-in-power-bi)
I should mention that the Data Type for these values is Text. If I change it to whole number I get huge gaps in my chart where non-existent location #s don't have any corresponding data.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
38 | |
31 | |
26 |
User | Count |
---|---|
97 | |
86 | |
43 | |
40 | |
35 |