Jump to content

Manually Sort Columns in Bar Chart.....super simple I know, I know


david lopez

Recommended Posts

Hi Community,

 

Trying to figure out how to manually sort bar chart in spotfire, ideally I'd like to have it sorted in as such....

Executive

Director

Manager

Analyst

Associate

the only way I can seem to sort it is by value.

 

Any help would be greatly appreciated.

 

Cheers,

david

Link to comment
Share on other sites

David,

you can create a calculated column using the 'case function' to set the sort order and then put this on the category axis. Let's call it 'Sort Order':

case

when [Mgr Level] = 'Executive' then '1'

when [Mgr Level] = 'Director' then '2'

when [Mgr Level] = 'Manager' then '3'

when [Mgr Level] = 'Analyst' then '4'

when [Mgr Level] = 'Associate' then '5'

else 'to be defined'

endHope this helps!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...