Skip to main content

Select and load data from an Advanced Analytic connection

Once you have created a connection, you can select data and load it into a Qlik Sense app or script. You load data in Data load editor or Script editor.

Before a connection can be used, the app requires at least a source data table with a unique identifier and input fields which will contain the content to send to the model for a machine learning problem or task. Make a note of the Table and Field name, you will need these in the Select dialog next.

  1. Open Data load editor or Script editor.

  2. In the Data sources panel on the right-hand side of the page, navigate to the saved connection and click Select data. This opens the Select data wizard.

  3. Enter a Resident Table to be sent to the machine learning endpoints.

    The Resident Table should be the name of the resident table with source data that you have loaded into your app. You will find the resident table name in the Data model viewer.

  4. The available return table will automatically appear under Tables.

    The name of the return table is the one that has been configured in the connection.

    • Select Dynamically Load All Fields if you wish to load all fields returned from the model into your app and if you have created the Advanced Analytic connection with the configuration to Load all available fields.

    • Select the column names to be loaded into the app if the connection was created without Load all available fields.

  5. A script is automatically generated based on the selections.

    Click Insert script.

  6. The new script will be seen in text editor.

    The complete resident table will be sent to the model and must contain all the fields expected by the endpoint.

  7. Reload the app.

    When a reload of an app occurs it will first expect to load the source data as a resident table and use this as input to the request made to model endpoints.

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!