Data imported from Excel into DataViewer must adhere to certain specifications
There are several things to be mindful of when importing data sets into Dataviewer.
Rules and Restrictions for Importing Microsoft Excel Files
- Only .xlsx files are supported.
- Files must be smaller than 300MB in size.
- Only the first sheet of the spreadsheet is imported.
- The spreadsheet’s first row (from cell A1) should be filled with the column headings.
- Data should begin in the second row (from cell A2).
- Data should be fully un-pivoted.
- Dates should be in full date format, e.g. 01/01/2001.
- Empty cells should be blank, rather than 'n.a.' or 'unspecified' etc.
- A column must contain data within the rows.
- A column’s data type within the Dataviewer (e.g. count, string or date/time) is inferred from the data in the column.
- Individual columns should only contain one data type. If a column type is set to ‘count’, for example, then every cell in that column must contain a number. Any cells within that column containing text, a date or no value at all will be converted to the default value.
- The default values are as follows:
Data type |
Default value |
Date |
1-Jan-0001 |
Count/Number |
0.0 |
Boolean (true/false) |
false |
Any values in a column that do not match the specified column type will be changed to the above values. The first 1000 changes are listed after the table has been imported.
🔔 Note: ‘text’ is a flexible data type and it, therefore, doesn’t require a default value. Any content within cells in a column set to ‘string’ will be imported to the Dataviewer as it was entered in Excel.
Excel formatting is ignored, but formatting options are available for the various data types within the Dataviewer. For example:
Date/time |
DDMMYYYY |
Count (number) |
Default (1,234) |
Percentage (123.00%) |
|
Dollars ($1,234) |
|
Pounds (£1,234) |
|
Euros (€1,234) |