KNOWLEDGE BASE

Numbers in Downloaded Crosstab Are Displayed in Scientific Notation


Published: 20 Mar 2017
Last Modified Date: 11 Jun 2020

Issue

When using Microsoft Excel to view a CSV file created by downloading a crosstab from Tableau Server, numeric strings containing more than 11 characters are displayed in scientific notation. 

Environment

  • Tableau Server
  • Tableau Online

Resolution

Opening the CSV file using a text editor, such as Notepad or Sublime, would show all of the numeric characters in the affected columns.

To change the behavior in Excel, import the data from the CSV file (instead of just opening the file). For example:
  1. Open Excel and create a new blank workbook.
  2. Select the Data menu > From Text/CSV.
  3. Select the CSV file > Import.
  4. On the preview dialog, check to see if the data is displayed correctly. If the data displayed is still incorrect, click Transform.
  5. In Power Query Editor, select the affected column, and then select the Transform menu > Data Type > Text > Replace current.
  6. Select the Home menu > Close & Load.
Did this article resolve the issue?