Skip to content

nelson-yan/Tableau-PCF

Repository files navigation

Tableau PCF

PowerApps has native support for embedding Power BI reports and dashboards. However, if your organization uses both Tableau and PowerApps, embedding Tableau dashboards can be a challenge since it is not natively supported.

Follow below steps to use the Tableau PCF component to seamlessly embed a Tableau dashboard within PowerApps without requiring users to log in (Connected App Method).

image

Prerequisites

  • Code component feature is enabled in your PowerApps environment. 🔗
  • Tableau component solution 🔗
  • Tableau Site Admin Role or higher
  • Tableau 22.1 version or later, for Connected App UI
  • Or Tableau 21.4 version or later, for Connected App API

Install Tableau component

To get started, download the Tableau component managed solution from GitHub and import it into your PowerApps environment. Then, create a blank Canvas App and import the Tableau component into your app. After Tableau compoent is added into canvas, and you’ll find some properties under Properties tab awaiting you to configure from tableau.

image

Configure Connected App in Tableau

Refer to Create a connected app

image

Get Tableau dashboard embedded link

Open the dashboard view you’d like to embed in PowerApps, click ‘Share‘ button to open the share view and click ‘Copy Link‘ button to get the dashboard link.

image

Complete the final configurations

Once the Tableau configurations are complete, return back to your Canvas App, paste dashboard link into Source property, and Client Id, Secret Id, Secret Value from Tableau Connected App page, into ClientId, SecretId and Secret properties. Enter your tableau account name into Username property, and “Destkop” into Device property.

The Tableau componet will start redenering for few seconds, and then here we go!! ✨✨✨

image