SharePoint Tableau

Display Tableau dashboard in SharePoint web part

When the business needs to view Tableau dashboards or visualizations in SharePoint 2010, the most complete solution is to install the Tableau Server Service Application into the SharePoint farm. But what if it is not installed or supported on the farm?

The most obvious workaround is to add a Page Viewer web part to a SharePoint page which points to the URL of the Tableau dashboard page. This method shows the entire Tableau page – navigation header, footer and everything else in-between. But who really wants a page in a page, unless it’s the only option?

To display just the dashboard itself on a SharePoint page, use a Content Editor Web Part. Click the “Share” hyperlink on the Tableau dashboard page, and a dialog is displayed with Email and Embed code strings.

tableaupage - Display Tableau dashboard in SharePoint web part

The Embed string in the dialog contains object and param tags:

tableaupage codesnip - Display Tableau dashboard in SharePoint web part

Just copy and paste them into the HTML Source pane of the Content Editor Web Part.

tableaupage contenteditor - Display Tableau dashboard in SharePoint web part
tableaupage htmleditor - Display Tableau dashboard in SharePoint web part

Finish configuring the web part settings and publish the page to view the Tableau dashboard. Depending on network, server and dashboard conditions, the report may take a few seconds to load at times, but it works.

After publishing the page, it is possible to replace the “Embed” code in the HTML Source Editor code, but SharePoint 2010 makes it a bit tricky. In my case, it took clicking on the content area and hitting the delete key a couple of times to remove a veneer of sorts before the “Edit HTML Source” button would apply to the correct web part on the page. If that fails to satisfy, just create a new Content Editor Web Part to replace the previous one.

4 replies on “Display Tableau dashboard in SharePoint web part”

Just to clarify, if you grab the Email link in the share dialog, it takes the view’s URL, but also adds ‘?:embed=y’ which eliminates the header and the footer.

This is a good trick though and it’s always nice to have more options. Your approach is clearly more flexible.

Thank you for the help worked like a champ. Do you know if it’s possible to embed the password in the code as well so the users don’t have to log into the Tableau Server?

Almost three years later and I’m still using this to help folks embed their dashboards in SharePoint. Great work, Max. Thank you.

Leave a Reply

Your email address will not be published. Required fields are marked *