From 0757e996102c5a135b84356bf4e7a49c6c4faf88 Mon Sep 17 00:00:00 2001 From: Mirna Wong <89008547+mirnawong1@users.noreply.github.com> Date: Mon, 9 Sep 2024 21:24:09 +0100 Subject: [PATCH 1/6] add powerbi example (#6034) adding power bi examples to explorer data health tile doc --------- Co-authored-by: Ernesto Ongaro Co-authored-by: nataliefiann <120089939+nataliefiann@users.noreply.github.com> --- website/docs/docs/collaborate/data-tile.md | 69 ++++++++++++++---- .../docs/use-dbt-semantic-layer/deploy-sl.md | 2 +- .../dbt-explorer/data-tile-iframe.jpg | Bin 364107 -> 0 bytes .../dbt-explorer/data-tile-stale.jpg | Bin 64481 -> 0 bytes .../dbt-explorer/power-bi-final.png | Bin 0 -> 175024 bytes .../dbt-explorer/power-bi-measure-tools.png | Bin 0 -> 130648 bytes .../dbt-explorer/power-bi-measure.png | Bin 0 -> 28046 bytes .../collaborate/dbt-explorer/power-bi.png | Bin 0 -> 125415 bytes .../dbt-explorer/tableau-example.png | Bin 0 -> 464408 bytes 9 files changed, 57 insertions(+), 14 deletions(-) delete mode 100644 website/static/img/docs/collaborate/dbt-explorer/data-tile-iframe.jpg delete mode 100644 website/static/img/docs/collaborate/dbt-explorer/data-tile-stale.jpg create mode 100644 website/static/img/docs/collaborate/dbt-explorer/power-bi-final.png create mode 100644 website/static/img/docs/collaborate/dbt-explorer/power-bi-measure-tools.png create mode 100644 website/static/img/docs/collaborate/dbt-explorer/power-bi-measure.png create mode 100644 website/static/img/docs/collaborate/dbt-explorer/power-bi.png create mode 100644 website/static/img/docs/collaborate/dbt-explorer/tableau-example.png diff --git a/website/docs/docs/collaborate/data-tile.md b/website/docs/docs/collaborate/data-tile.md index 446922acb92..fa8ea59e947 100644 --- a/website/docs/docs/collaborate/data-tile.md +++ b/website/docs/docs/collaborate/data-tile.md @@ -23,7 +23,10 @@ The data health tile: Data health tiles rely on [exposures](/docs/build/exposures) to surface trust signals in your dashboards. When you configure exposures in your dbt project, you are explicitly defining how specific outputs—like dashboards or reports—depend on your data models. + + + ## Prerequisites @@ -72,28 +75,68 @@ Follow these steps to set up your data health tile: If your analytics tool supports iFrames, you can embed the dashboard tile within it. -#### Tableau example -Here’s an example with Tableau, where you can embed the iFrame in a web page object: +### Examples +The following examples show how to embed the data health tile in Tableau and PowerBI. -- Ensure you've copied the embed iFrame snippet from the dbt Explorer **Data health** section. -- **For the revamped environment-based exposure tile** — Insert the following fields into the following iFrame. Then embed them with your dashboard. This is the iFrame available from the **Exposure details** page in dbt Explorer. + - `" + ``` + + -- **For job-based exposure tile** — Insert the following fields into the following iFrame. Then embed them with your dashboard. The next [section](#job-based-data-health) will have more details on the job-based exposure tile. +6. PowerBI desktop doesn't support HTML rendering by default, so you need to install an HTML component from the PowerBI Visuals Store. +7. To do this, go to **Build visuals** and then **Get more visuals**. +8. Login with your PowerBI account. +9. There are several third-party HTML visuals. The one tested for this guide is [HTML content](https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA200001930?tab=Overview). Install it, but please keep in mind it's a third-party plugin not created or supported by dbt Labs. +10. Drag the metric with the iFrame code into the HTML content widget in PowerBI. This should now display your data health tile. - `