Craig Porteous
A SQL Blog
  • Home
  • About Me
Power BI Logo
Posted by Craig 
· 1st July 2016 
· No Comments

Add Embedded code to PowerBI dashboard

PowerBI_webcontent

This is something I pulled in during a recent PoC of PowerBI. Its a very powerful built in feature of PowerBI that, I feel, has one visual draw back that I will document towards the end of this post. I am utilising the Web Content tile in PowerBI which can essentially be populated with any embedded code. Ill demonstrate its use below using the twitter feed.

 

Retrieve the source code

The first thing we need to do here is to go to the source to grab the required code. In this case it would be twitter: https://publish.twitter.com/. From here it is fairly straight forward to pick the options you want & define the feed/user etc that you want to display. Ive used SQLBits’ twitter feed as an example here. I hope they dont mind 🙂

Twitter_1

Twitter_2

From this screen you can copy the code which outputs as below:

Twitter feed code
1
2
<a class="twitter-timeline" href="https://twitter.com/SQLBits">Tweets by SQLBits</a>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

Update your Dashboard

Going back to your PowerBI Dashboard, click Add Tile in the top right menu, selecting Web Content.

PowerBI_Code

As you can see there are a few options you can set to add title & description as well as a custom click through link.

Hitting Apply adds the tile to your dashboard which you can see below alongside a quick Execution log donut chart I have added.

PowerBI_TwitterDash

 

NOTE: There is a “Grey Shield” warning in the corner of any tile you add that contains external content. I have yet to find a way to remove or hide this warning but will update this post if I do. In my opinion it detracts from the clean feel of the dashboard and shouldn’t be a permanent fixture.

PowerBI_warning

Share this:

  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to email this to a friend (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Google+ (Opens in new window)
  • Click to share on Telegram (Opens in new window)

Related

No Comments
Categories : PowerBI
Tags : #SQLBits, dashboard, embed code, embedded code, PowerBI, twitter feed, web content
← Next Post
Previous Post →

Leave a Reply Cancel reply

Recent Posts

  • Top 10 things to document in SSRS 27th February 2018
  • I published a PowerShell Module! 16th January 2018
  • Clustering the Power BI Data Gateway for High Availability (and Low visibility?) 4th January 2018
  • Managing Power BI Dataset Refresh Failures 30th November 2017
  • How to build a SQL Server Virtual Lab with AutomatedLab in Hyper-V 21st November 2017

Categories

  • Announcements (4)
  • ASP.NET (1)
  • C# (1)
  • Certifications (1)
  • MySQL (1)
  • PowerBI (5)
  • Powershell (9)
  • Scripts (2)
  • SharePoint 2010 (2)
  • SQL Server 2012 (5)
  • SQL Server 2014 (7)
  • SQL Server 2016 (9)
  • SQL Server 2017 (3)
  • SSAS (1)
  • SSRS (14)
  • T-SQL Tuesday (1)
  • TSQL (1)
  • Uncategorized (1)

Social

  • View cporteous’s profile on Twitter
  • View craigporteous’s profile on LinkedIn
Craig Porteous · Copyright © 2018 All Rights Reserved
iThemes Builder by iThemes · Powered by WordPress & hosted by SiteGround WordPress Hosting
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.