Importing Data with Custom Queries

Sisense allows you to import data from a variety of data sources and manipulate the data that is imported by running custom SQL queries against the database, for example:

  • Import selected data only to reduce import and build times when you do not require all the data.
  • Perform various procedures in the database such as table joins.

After running your custom query, you can preview the updated tables before importing the data into the ElastiCube.

Notes:

  • This feature is available for the following relational databases: Microsoft SQL Server, MySQL, PostgreSQL, Oracle, Amazon Redshift, Salesforce, Snowflake, BigQuery and Generic ODBC.
  • This feature runs a query in the source database, which may require a lot of processing power from your database, especially for complex queries.

To add tables with custom queries:

  1. After selecting your database, click + at the bottom of the list of tables and views in the database. An empty custom table is added and the Settings area is displayed.

    OR
    When previewing an existing table, click Edit Query to modify the custom query.

  2. In the Settings area, enter your custom SQL query.

  3. Click + to add additional custom tables. You can delete any of the tables by selecting the import query’s menu and clicking Delete.

  4. Click Done to import your custom data into Sisense.

.r.