Create a staging table to store data while you import it. Make sure the table matches the structure of the import file before moving it to the final table.

During a file import, data is first loaded to a staging table and then mapped into the associated fact table. As part of the import process, the staging table will be truncated before loading to the table.

The staging table must be created before configuring a new File Import. The structure of the staging table must be compatible with the data file to be imported.

For example, if your import file contains columns for Account, Date, Entity, Currency, and Amount:

AccountDateEntityCurrencyAmount
10000202503USAUSD67000
11000202503USAUSD1240000
13100202503USAUSD15000
13200202503USAUSD10000
13300202503USAUSD58222
13400202503USAUSD125490

Your staging table must contain these columns:

ParameterDescription
Column NameThis column lists the names of the fields within the staging table. For example, Account, Date, Entity, Currency, and Amount, need to exist in the same order to the file above. 
Data TypeThis indicates the type of data each column holds, for example, string and float.
SQL Data TypeIt specifies the corresponding data type used in the underlying SQL database. For example, varchar should be used for Account, Date, Entity, and Currency, while float should be used for Amount in the file example above.
SQL SizeFor varchar columns, it shows the maximum length in characters that can be stored.
SQL PrecisionDisplays relevant for numeric types such as Float and specifies the precision. In the example above, the Amount column has a precision of 52.
Primary Key

The checkbox indicates whether the column is a primary key. 

A primary key uniquely identifies each row in the table.

NullableThe checkbox indicates whether a column can contain NULL, that is, no value. 

Use the Add button to add new columns and Delete button to remove rows from the current staging table.

Note: The name of the staging table must begin with an alpha character.

The Clear Data Settings in Data Import Definitions clears members in the data model based on the members found in the staging table.

For example, if the staging table or the source file contains entities such as London and Toronto, and the Clear Data Settings is set to Staging Source Values for the Entity dimension, rows with London and Toronto will be cleared from the data model before the data is imported.