Importing data from a file

You can import data from different data sources, such as an Excel spreadsheet or a text file, then use your data to create a report, document, or Visual Insight quick dashboard.

The following file types can be used to import data:

.xls

.xlsx

.txt

.csv

You can provide the location of the file using the following methods:

For text/CSV files, XBRi uses English (United States) localization settings to import data. For example, a comma is used as the separator symbol for every three digits.

For Excel files, XBRi uses the localization settings specified in the User Preferences.

Password-protected or compressed files (such as .zip files) cannot be used to upload data.

Assigning geo roles and shape keys to your data

During the import process, XBRi automatically attempts to determine if any data columns in the data that you have chosen to import contain geographical information, such as city or latitude information. A data column that contains geographical information is assigned a geo role to identify the type of information it contains. Once a data column has been assigned a geo role, you can improve the depth of the geographical information available for your data by having automatically generating attributes containing higher levels of geographical data based on the data column. For example, if the data column contains city data, you can arrange to automatically generate the State attribute, which contains the state each city is located in.

Assigning a geo role to a data column also allows for easier integration with map-based widgets or visualizations that require latitude and longitude information, such as the Map visualization.  For example, you can import a data column called City, which contains the names of multiple cities, then define it as an attribute with the City geo role. XBRi automatically creates the City attribute with the attribute forms Latitude and Longitude, which contain the latitude and longitude of each city. When you create a Map visualization using the imported data, you can use the City attribute to provide latitude and longitude information for map markers in the visualization. XBRi automatically adds latitude and longitude information as attribute forms to data columns with the Country, State, Zip Code, City, or Location geo role, allowing you to provide latitude and longitude information using these forms.

Administrators can customize the geographical information used to automatically generate higher-level attributes. For example, they can specify whether XBRi assumes that Springfield refers to Springfield, Ohio or Springfield, Illinois.

A shape file is an HTML file that contains the background image of an Image Layout visualization or widget, as well as the location of each area or bubble marker you want to display on top of the image. You can determine which shape file to display in an Image Layout visualization or widget by default, by assigning a geo role or shape key to the data column. For more information and steps to create an Image Layout visualization, see Creating an Image Layout visualization. Steps are included below to assign a geo role or shape key to a data column.

Prerequisites

To import and publish data from a file

  1. Open the My Reports or Shared Reports folder.

  2. From the icon bar at the top, click the Import Data icon.

  3. Under Select your data source, click File. The File Upload options are displayed.

  4. Do one of the following:

  5. Click Next. A preview of the imported data is displayed on the Preview page

  6. If the file is an Excel workbook with more than one sheet of data, from the Sheet Name drop-down list, select the name of the sheet from which you want to import data.

  7. By default, XBRi assumes that your data is stored in a simple tabular layout. You can also choose to import data stored in a cross-tabbed layout. Select one of the following options:

  8. You can select options to define a data column as an attribute or metric, choose not to import a column of data, rename data columns, and so on. Hover the cursor over the header of the data column you want to select options for, then click the arrow icon to display a menu. Select from the following:

  9. Repeat the appropriate steps above for each data column you want to define.

  10. Click Publish. The Save Cube dialog box opens.

  11. Browse to the location to publish the imported data to, then type a name and description for the published data in the Name and Description fields.

  12. Click OK. Your data is saved and published as an Intelligent Cube.

Once you have saved your data, you can use it to create a report, document, or quick dashboard. To do so, select one of the following:

Related topics

About importing Data

Best Practices: Importing Data

 

 

_____________________________