Forum Discussion
Re-ordering the x-axis values
- Anonymous8 years ago
Hi AVZ,
This subject is explained in the Power BI documentation.
https://powerbi.microsoft.com/en-us/documentation/powerbi-service-change-how-a-chart-is-sorted/
Hope you find your answer here :)
Regards,
L.Meijdam
Hi Anonymous AVZ
What if I don't want to use a numeric value or a text field for the sort order? I have a requirement to sort by a process step, e.g. cut, paint, quality control, ship. I will have a certain number of works orders in each step. I want to show that on a bar chart. The chart will immediately draw attention to any step where works orders are backlogged.
Neither the number of orders in a step nor the alphabetic sort or of the step name is suitable for sorting the bar chart in the chronological sequence of process steps.
Hey Anonymous
In this case what you can do is, put the set of process in a table and order them by a key. Then in Power BI take this key as well as a field. Click on the column that you want ordered in graph -> go to modelling tab -> go to sort by column -> select the key column that you used in database for ordering.
And you are done.
Let me know if the doubt exists.