Unable to get "data source order" sort

Kevin Schmidt

3 posts

joined Jul '10

I have a set of data where the order the rows appears is meaningful but is not alphabetic. The source file is a CSV and has the data in the right order, but when I create my charts the rows are always put in alphabetical order.

Specifically, I have a column "opponent" that I drag to the Columns part of the chart definition. I click on the down arrow and Sort... and make sure "Sort by" is "Data source order". However the "Sort order" section has to have either Ascending or Descending selected which seems to override the data source order. So I'm unable to get the order to be the order in my dataset.

Is there a way to fix this? Or do I need to add a new column to my dataset that specifies the order numerically that I can sort on?

Comments

Robert Mortontableau team

284 posts

joined Apr '08

Hi Kevin,
"Data source order" simply means that Tableau asks the data source to perform the ascending/descending sort. This is typically used with data sources supporting international character sets, which may have special collations that influence the sorting. If you wish to retain the logical ordering of your data values, you will need a column which identifies that order.
-Robert

+ Visual analytics and data intelligence for all.

Kevin Schmidt

3 posts

joined Jul '10

Robert,

Thanks for the quick reply. I did go ahead and create a column to identify the order and have it working fine.

Kevin

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Syndicate content Subscribe to the comments on "Unable to get "data source order" sort"