Adding data from an existing data source
You can add data to your app from connections that have already been defined by you or an administrator. These can be a database, a folder containing data files, or a connector to an external data source, such as Salesforce.com.
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.
For more information about:
- Available data sources, see Adding data to the app
- Connecting to data sources, see Connecting to data sources
You can delete connections from Add data by right-clicking the connection and selecting Ö Delete connection.
If you delete a connection, you must delete any tables from Data manager that used that connection before you load data.
Do the following:
- Open your app.
- Open the Data manager and then click ú. You can also click Add data in the ¨ menu.
-
Under Data connections, select an existing connection.
Some connections go directly to their data sources, where you select tables and fields to load. For example, connections to Salesforce.com or a database, such as IBM DB2, go directly to the source for data selection.
-
Select the specific data source you want to add data from if the connection offers a selection.
This differs depending on the type of data source.
- File-based data sources: Select a file.
- Databases: Set which database to use.
- Web files: Enter the URL of the web file.
- Other data sources: Specified by the connector.
-
Select the tables and fields to load.
-
Select Filter data if you want to select a subset of the data contained in the fields you have selected.
When you select Filter data, a text box opens for the filter criteria. For information about criteria, see Filtering data.
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 or Qlik DataMarket.
-
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 noteIf you want to load the data directly into your app, click ¥ and then disable data profiling. This will load the newly selected data from the external data source when you add data. Tables will be associated on common field names automatically. Date and time fields will not be created. -
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.
To reload all the data that you have selected from the external source, use the ô button in the Data manager footer. This ensures you get all the current data from the source for the selections you have made. Reloading all the data can take longer than loading only the new data. If the data you loaded previously has not been changed in the data source, it is not necessary to reload all the data.
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!