Load CSV Files to a Workspace with the LDM Modeler

You can upload data to your workspace using the LDM Modeler and start immediately analyzing it.

To do so, upload a CSV file with data in the LDM Modeler. You may or may not have a logical data model (LDM) in your workspace already. The CSV file is added as a dataset to your LDM, the data is immediately available in your workspace, and you can start analyzing it in Analytical Designer.

If you do not have an LDM yet, you can create it manually (see Create a Logical Data Model Manually) or from CSV files (see Create a Logical Data Model from CSV Files).

Make sure that your CSV files meet the requirements described in CSV File Requirements.

Here is an example of what your CSV file may look like:



  1. In the LDM Modeler (for how to access the LDM Modeler, click here), drag your CSV file and drop it in the canvas area.
    The file preview opens. For example:

    This preview shows the data from your file. Based on the column names and the contents of those columns in the CSV file, the column names and the types of the data are suggested for the dataset that will be created from this file.
  2. Review the suggested column names and the data types for the columns. If needed, change the names and/or the types of data.
    For example, a column containing numeric identifiers can be detected as a measure. However, the identifiers are usually non-measurable descriptive data, and therefore must be an attribute. In this case, you need to change the type of the data for this column.

    You can also do the following:
    • Set some attribute as a primary key.
      The primary key defines the unique identifier for a row of data in a file and serves as a connection point that allows you to connect this dataset to another dataset. In other words, you will be able to create a relation between the dataset that you are going to create and another dataset in the LDM.
      A relation between two datasets allows you to use information from one dataset to slice the data in the other dataset. For more information about primary keys, see Primary and Foreign Keys and Connection Points in Logical Data Models.

      If you do not set the primary key now, you will be able to do it after the dataset has been created (see Update a Logical Data Model).

    • Set some attribute as a reference to another dataset (this dataset must already exist in the LDM). The reference serves as a foreign key, and a relation between these two datasets will be created after you import the CSV file. For more information about references, see Primary and Foreign Keys and Connection Points in Logical Data Models.
  3. When you are done reviewing, click Import.
    The CSV file is imported, and the dataset is added.

    Notice the following:
    • Depending on whether the CSV file contained facts, the dataset is color-coded with orange (the dataset contains only attributes and no facts) or green (the dataset contains at least one fact). For more details, see Datasets in Logical Data Models.
    • If the CSV file contained a date, the second dataset - the Date dataset - is also added and is connected to your dataset.
    • If you set some attribute to be a primary key, this attribute is noted with an orange key icon ().
    • If you set some attribute to be a reference to another dataset, this attribute is noted with a gray key button (), and a relation is created between the newly created dataset and the referenced dataset.
  4. If you have other datasets in your LDM, decide whether you want to create a relation between the newly added dataset and any other dataset in your LDM. If yes, do so (see Update a Logical Data Model).
  5. When you are done, click Publish to publish the logical data model to your workspace.
    You are prompted to choose the mode of publishing. The Preserve data mode is selected by default.
  6. Keep the Preserve data mode, and make sure that the Upload data from imported CSV files checkbox is selected.
  7. Click Publish.
    The publishing process starts. When the publishing completes, you see a message that the LDM has been published. Close this message.

The data has been uploaded to you workspace, and you can immediately start analyzing it. To do so, click your username in the top right corner, and select Analyze data. You are redirected to Analytical Designer, where you can create insights from your data. For more information, see Create Insights.

When you get an update for the data that you have uploaded to the dataset, upload the new data to the dataset (see Update Data in a Dataset in the Logical Data Model).

Powered by Atlassian Confluence and Scroll Viewport.