KB: Specify text file import column data type in PowerPivot

  1. Create a file “Schema.ini” in the same folder of your data file.
  2. Add a section for the data file and specific the file format, column names and data types

  3. Settings in Schema.ini will override the settings in the data import UI.