01 - How to import data from Excel
Requirements for the Excel file:
Please note the following before importing an Excel file:
- Only the first sheet of the file will be imported.
- The first line of the file should either contain a label for the column, or a text describing the data in the column. Use only the characters a-z,A-Z,0-9 or underscore (_) in one word only
- Depending on the data in the column, the Import Wizard will detect the appropriate type, but you may also override this in the first step.
- Categorical data can be represented either by text, or by a number. The categories are created in the order that they appear in a column.
- If you want categorical data to appear in a specific order, you may use the rows from row 2 onwards to specify the order and also cater for possibly missing categories in some columns.
- E.g. if you have several categories that represents a scale, “Very likely”, “Likely”, “Not likely”, you might want them to appear in this order (regardless of how they appear in the real data), and if you have several of these columns, the Import Wizard will automatically recognize these and create a grid out of them, but this relies on the same number and order of categories in each column.
- If you have such rows describing the order, please give the number of such rows on the dialog where you select the Excel file.
In your projectfolder click on the import button. This will open the Import Wizard.
Now you can choose the Excel option.
Click on the Browse button and select the file you wish to import, give it a name and description and then click on the Import button.
A new screen will appear and you select the columns you would like to import and also change the data type of the columns. The Import Wizard automatically assigns a data type based on the contents of the column and selects all active columns for import.
To change the data type assigned to the column select the column and then click the Edit button.
You can select the following data types:
- Single Choice: The contents of the column will be automatically classified as the answers to the question.
- Numeric, Int32: Select this type for whole numbers (Integers) e.g. 1,2,3
- Numeric, decimal: Select this type for decimal numbers e.g. 1.5, 2.34, 1345.99
- Text: These values will be imported as text and not be available for analysis.
- Date and Time: Values are stored as dates.
You do not have to import all of the columns in your file you can deselect a column by clearing the checkbox on the left.
Once the file is loaded you can then use the import wizard to define your data set.