Ordering categories for a bar chart of sums of valuesDear JMP help community,
I have a dataset consisting of expenses grouped within many different categories (maintenance, salaries etc.). Within each category there are many rows of expenses, e.g. in maintenance I have rows for painting expenses, carpentry, electrical services etc.
I can create a treemap to show the relative size of each expense group, but would prefer an bar chart with one bar for each category, ordered by total expense within each category. This last part I can't seem to get to work. Ordering bars by the expense value seems to order by number of expense posts within each category, rather than putting the bar with the highest sum of expenses first.
Has anyone solved this? Thanks in advance for your input!
(I'm on JMP 18.2.0)
Data Exploration and VisualizationRe: Ordering categories for a bar chart of sums of valuesWhen you have graph like this

You can order X-axis by right clicking on it

Select Other, pick your Y-axis column

Right click again and change ordering statistic

And finally change Order By (if necessary)


Re: Ordering categories for a bar chart of sums of valuesHi @ANVAR,
Welcome in the Community !
I think there might be an easy fix for your situation :
You can provide a toy dataset if you want to have detailed explanations about the actions to perform.
Hope this answer will help you,
Re: Ordering categories for a bar chart of sums of valuesThank you for your fast and thorough answers, both. It worked like a charm. Much appreciated!
And thank you for your kind welcome to the JMP community.