-
Notifications
You must be signed in to change notification settings - Fork 978
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/current' into Fix-insufficient-c…
…ontrast-on-dark-background
- Loading branch information
Showing
8 changed files
with
110 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
title: "Google Sheets (beta)" | ||
description: "Integrate with Google Sheets to query your metrics in a spreadsheet." | ||
tags: [Semantic Layer] | ||
sidebar_label: "Google Sheets (beta)" | ||
--- | ||
|
||
:::info Beta functionality | ||
Google Sheets integration with the dbt Semantic Layer is a [beta feature](https://docs.getdbt.com/docs/dbt-versions/product-lifecycles#dbt-cloud) and is subject to change without notification. | ||
::: | ||
The dbt Semantic Layer offers a seamless integration with Google Sheets through a custom menu. This add-on allows you to build dbt Semantic Layer queries and return data on your metrics directly within Google Sheet. | ||
|
||
## Prerequisites | ||
|
||
1. You have a Google account with access to Google Sheets. | ||
2. You can install Google add-ons. | ||
3. You have [set up the dbt Semantic Layer](/docs/use-dbt-semantic-layer/setup-sl). | ||
4. You have a dbt Cloud Environment ID and a [service token](/docs/dbt-cloud-apis/service-tokens) to authenticate with from a dbt Cloud account. | ||
|
||
## Installing the add-on | ||
|
||
1. In Google Sheets, navigate to [**Extensions -> Add-on -> Get add-ons**](https://support.google.com/docs/answer/2942256?hl=en&co=GENIE.Platform%3DDesktop&oco=0#zippy=%2Cinstall-add-ons%2Cinstall-an-add-on). | ||
2. Search for "dbt Semantic Layer for Sheets" and install it. | ||
3. After installing, open the Add-On menu and select the "dbt Semantic Layer for Sheets". This will open a custom menu to the right-hand side of your screen. | ||
4. Authenticate with the dbt Cloud Environment ID and Service Token. | ||
5. Start querying your metrics using the **Query Builder**! | ||
- For more info on the menu functions, refer to [Custom menu key functions](#custom-menu-key-functions). | ||
|
||
When querying your data with Google Sheets: | ||
|
||
- It returns the data to the cell you have clicked on. | ||
- The custom menu operation has a timeout limit of six (6) minutes. | ||
|
||
## Custom menu key functions | ||
|
||
The custom menu provides the following capabilities: | ||
|
||
| Menu items | Description | | ||
|---------------|-------------------------------------------------------| | ||
| Metrics | Search and select metrics. | | ||
| Group By | Search and select dimensions to group by. Dimensions are grouped by the entity of the semantic model they come from. | | ||
| Granularity | Modify the granularity of the primary time dimension. | | ||
| Where | Filter your data. This includes categorical and time filters. | | ||
| Order By | Return your data ordered. | | ||
| Limit | Set a limit for the rows of your output. | | ||
|
||
|
||
## Filtering data | ||
|
||
To use the filter functionality, choose the dimension you want to filter by and select the operation you want to filter on. | ||
- If it's a categorical dimension, type in the dimension value you want to filter by (no quotes needed) and press enter. | ||
- Continue adding additional filters as needed with AND and OR. If it's a time dimension, choose the operator and select from the calendar. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,27 @@ | ||
<!-- turn this list into cards or sections once more docs are provided --> | ||
The dbt Semantic Layer integrations are capable of querying dbt metrics, importing definitions, surfacing the underlying data in partner tools, and more. These are the following tools that integrate with the dbt Semantic Layer: | ||
The following tools integrate with the dbt Semantic Layer: | ||
|
||
<div className="grid--3-col"> | ||
|
||
<Card | ||
title="Hex" | ||
body="Connect to Hex to query metrics, collaborate, and do more with data." | ||
link="https://learn.hex.tech/docs/connect-to-data/data-connections/dbt-integration#dbt-semantic-layer-integration" | ||
icon="dbt-bit"/> | ||
|
||
<Card | ||
title="Mode" | ||
body="Connect to Mode to query metrics and deliver consistent insights." | ||
link="https://mode.com/help/articles/supported-databases/#dbt-semantic-layer" | ||
icon="dbt-bit"/> | ||
|
||
<Card | ||
title="Google Sheets (coming end of Oct)" | ||
body="Connect to Google Sheets to query metrics and collaborate with teams. Available end of October." | ||
icon="dbt-bit"/> | ||
|
||
|
||
</div><br /> | ||
|
||
Before you connect to these tools, you'll need to first [set up the dbt Semantic Layer](/docs/use-dbt-semantic-layer/setup-sl) and [generate a service token](/docs/dbt-cloud-apis/service-tokens) to create **Semantic Layer Only** and **Metadata Only** permissions. | ||
|
||
1. **Mode** — To learn more about integrating with Mode, check out their [documentation](https://mode.com/help/articles/supported-databases/#dbt-semantic-layer) for more info. | ||
2. **Hex** — To learn more about integrating with Hex, check out their [documentation](https://learn.hex.tech/docs/connect-to-data/data-connections/dbt-integration#dbt-semantic-layer-integration) for more info. Additionally, refer to [dbt Semantic Layer cells](https://learn.hex.tech/docs/logic-cell-types/transform-cells/dbt-metrics-cells) to set up SQL cells in Hex. | ||
3. **Google Sheets** — Google Sheets integration coming soon. | ||
4. **Tools that allows you to write SQL** — They must meet one of the two criteria: | ||
* Supports a generic JDBC driver option (such as DataGrip) or | ||
* Supports Dremio and uses ArrowFlightSQL driver version 12.0.0 or higher. | ||
|
||
Before you connect to these tools, you'll need to first [set up the dbt Semantic Layer](/docs/use-dbt-semantic-layer/setup-sl) and [generate a service token](/docs/dbt-cloud-apis/service-tokens) to create a Semantic Layer Only and Metadata Only service token. |