Skip to main content

Create initial dashboard

This section explains how to set up a dashboard to view orders.

The main purpose is to familiarize users with Snowsight.

Once a user is logged in, the default Snowsight environment is shown:

Snowsight Default

Click on Projects - Dashboards.

Then click on the “+” in the top-right to create a new Dashboard.

Give it a name like “Orders” and click “Create Dashboard”:

New dashboard

Click on "New Tile", "From SQL Worksheet":

New Tile

In the left bar you can select a database. For now: always use “DWH_DEV” as the database. Then select a schema. Clients only have access to the “IA_EXTERN” schema.

Under IA_Extern, select “views”, then the view “Order”. Click on the epsilon to get the menu, and then select "Place name in editor":

Select view

Now change the query to look like this:

Create Query

You can now execute it by hitting CTRL-Enter or by clicking on the run-symbol: Execute button.

When you click on “Return to Orders” in the top left, your Dashboard is saved and you’ll see the results.

Note that because you added the where-clause "and "CreatedOn" = :daterange", you automatically implemented a dashboard filter. Initially that is set to "Last day". You can change this to "Last 7 days" or anything you want. Just remember to hit the "Apply" button at the top-right.

The initial results of the query are shown in your dashboard:

Query Results

You can then click on the "Show xxx more"-link at the bottom to see all results:

Query Results

From here, select the download button and choose a format (CSV, CSV for Excel, or TSV). In most cases, TSV (Tab-Separated Values) works best.

You have now created your first dashboard. This is convenient for quick access.

For a more elaborate way of accessing your data, you’ll need to use a connection like ODBC (next section). By using an ODBC connection you no loner need to download CSV/TSV files, but can refresh your data directly in Excel.