Skip to main content

I'm confused why Tableau automatically sorts column names of TDE. I have a datasource (SQL) and I sorted 141 columns based on business user requirements. Now I have to do extract of my SQL datasource to create TWBX. However, after the extract, tableau just sorted the column names in ascending A-Z order.

 

Is there any way to keep the order of column names from datasource to TDE?

 

EDIT: Please go to this thread with similar idea.

 

Thanks,

Mark Ruiz

5 answers
  1. Aug 5, 2016, 12:19 AM

    Thanks Khalid for the straight forward recommendation. However I think the issue goes beyond just by sorting by datasource. I'll give you few examples and the desired output.

     

    As you suggested, we can sort by datasource in "source tab",

     

    Thanks Khalid for the straight forward recommendation. However I think the issue goes beyond just by sorting by datasource. I'll give you few examples and the desired output.

    We can also sort by datasource in the left most pane.

    pastedImage_1.png

     

    However, when exporting to excel, it sorts alphabetically A-Z: (Product, Product Line, Product Type) vs the sorting of datasource: (Product Line, Product Type, Product).

    pastedImage_2.png

    Now, when we view the underlying data, we see the issue. Tableau sorts its own way thus the issue in export/copy.

    pastedImage_4.png

0/9000