Skip to main content

Using Tables and the Explore view in Lightdash

Now that you've connected your dbt project to Lightdash, it's time to start exploring your data.

A Table is the main starting point for exploring data in Lightdash. It contains a group of related dbt models, dimensions, and metrics. You explore Tables in the Explore view.

Watch this quick 2 minute tutorial where we talk through the key components of Tables and how to explore them in the Explore view:

tutorial exploring the explore view

There are 5 areas to the Explore view:

  1. The list of metrics and dimensions available on the Table
  2. The filters panel, which lets you restrict the data pulled into Lightdash
  3. The chart panel to visualise the results of queries
  4. The results panel to explore the results of queries as a table
  5. The SQL panel, which shows the raw SQL that produced the results

explore screenshot

Learn how to create your first saved chart from the Explore viewโ€‹

Not a fan of videos? You can follow along with the steps below.

tutorial creating saved chart explore

Running your first queryโ€‹

To run a query:

  1. Select a metric to calculate
  2. Select one or more dimensions to split the metric into groups
  3. Hit "Run Query" in the top right

For example, if I wanted to know the "total number of orders split by order status", I'd select the Unique order count metric to calculate the number of orders and the Status dimension to split that by status.

Ordering your results in your tableโ€‹

Click on the table headers that you want to sort by and click again if you want to change from ascending to descending. If you need multiple sorts you can add more by pressing โŒƒ Control or โŒ˜ Command and click on the table header.

Visualising query results as a chartโ€‹

Once the query executes, the results will show in the results table. You can then open the charts section and choose a chart type to visualise the metric.

results screenshot

Saving a chartโ€‹

Saved Charts allow you to save a specific chart or visualisation so you can share it or revisit it again in future.

When you open a saved charts, it will always update to display the latest data in your database.

save chart button

To save a chart:

  1. In chart panel of the Explore view you will find the button to save your chart.
  2. Enter a memorable name for the chart, a good idea is to use a question as the name "How many orders are there at each stage?"
  3. Click on Saved charts to see your finished work of art ๐Ÿ˜š๐Ÿ‘Œ

view saved charts

Next stepsโ€‹

Creating a chart is cool, creating three charts is 3x cooler. Creating a dashboard with your three charts is 300x cooler ๐Ÿ˜Ž. Learn how to create and share dashboards