Adding data from a new data source

You can add data to your app from a new data source. When you add data from a new data source, a connection to the data source is created in Data Connections, making it easier to add more data from the same data source.

Warning:

Do not add a table in Data manager that has already been added as a scripted table with the same name and same columns in Data load editor.

You can delete connections from Add data by right-clicking the connection and selecting Ö Delete connection.

Warning:

If you delete a connection, you must delete any tables from Data manager that used that connection before you load data.

Do the following:

  1. Open an app.
  2. Open the Data manager and then click ú. You can also click Add data in the ¨ menu.
  3. Under Connect to a new data source, select a source.
  4. Enter the connection parameters required by the data source.

  5. Select the tables and fields to load.

    For more information, see Selecting data fields.

  6. Optionally, select to apply a data filter if you want to select a subset of the data contained in the fields you have selected.

    If your data source is a file, select Filters. Beside the table to which you want to add a filter, click Add filter, select a field, select a condition, and then enter a value with which to filter. For information, see Filtering data from files.

    Note:

    Qlik Sense does not support filters on date fields from QVD files.

    Note the following:

    • You can apply multiple filters to the same field.
    • You can remove filters in the Associations view of Data manager or from Select data from source. For the changes to take effect, reload data by clicking the Load data button.

    For databases and connectors, when you select Filter data, a text box opens for the filter criteria. For information about criteria, see Filtering data from files.

    Note the following:

    • Filters are applied to field names from the database. If you rename a field in the Data manager, you have to apply the filter to the original field name from the database. For example, if a field is named EMP in your database, and you rename it to EMPLOYEE in the Data manager, you have to apply the filter EMP = ‘filter_value’ .
    • You can clear data filters in the Associations view of the Data manager. For the changes to take effect, reload data by clicking the Load data button. You have to split concatenated tables before clearing filters.
    • Filtering data is not currently available for all connectors, or for attached files. Filtering is also not available for Qlik DataMarket.
  7. Click Add data to open the data in the Associations view of the data manager. This allows you to continue to add data sources, transform the data, and associate the tables in Data manager.

    Data profiling is enabled by default when you click Add data. Data profiling does the following:

    • Recommends data associations.
    • Auto-qualifies common fields between tables. This adds a unique prefix based on table name.
    • Maps date and time fields to autoCalendar.

    Tables are not associated on common field names automatically. You can associate tables in the Associations view.

    Tip: If you want to load the data directly into your app, click ¥ and then disable data profiling. This will also reload all existing data from data sources when you add the data. Tables will be associated on common field names automatically. Date and time fields will not be created.

    For more information, see Managing data associations.

  8. Click Load data when you are done preparing the data. If serious problems are detected, you need to resolve the problems in Data manager before you can load data into the app.

    For more information, see Troubleshooting - Loading data.

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?