Select and load data from a MongoDB database
Once you have created a connection to a MongoDB database, you can select data and load it into Qlik Sense. In Qlik Sense, you load data through the Add data dialog or the Data load editor.
Qlik Sense: MongoDB database properties
Properties | Description |
---|---|
Database | The database specified in the connection dialog. |
Tables |
Shows the tables in the specified database. Selecting a table will cause the table fields to be displayed in the Data preview tab. |
Data preview |
Shows a preview of the fields and data of the selected table. |
Metadata | Shows a table of the fields and whether they are primary keys. Primary-key fields are also labeled with a key icon beside the field name. |
Fields |
The fields in the selected table. If the table name check box is selected, all the fields in the table are automatically selected. If you click only the table name, fields are displayed but not selected. They can then be selected individually. You can also change the field name by clicking on the existing field name. The new name is then used as an alias for the name the field has in the database. |
Filter data |
Displays a field in which you can enter filter criteria to select a subset of data in the fields you are loading. The Filter data property displays after tables have been selected. |
Filter fields |
Shows a field where you can enter filter criteria. |
Hide script/Preview script | Shows or hides the load script that is automatically generated when table and field selections are made. |
Include LOAD statement |
Adds a LOAD statement before the SELECT statement. |
Add data |
Opens the Associations view of the Data manager. Allows you add more data sources, fix any errors in your data, and create table associations. This option is available only when you use Add data. |
Insert script | Inserts the script displayed in the Data preview panel into the script editor. This option is available only when you use the Data load editor. |