Wednesday 27 July 2016

SharePoint/Office 365 List Data Source – Microsoft Power BI




SharePoint/Office 365 List Data Source – Microsoft Power BI

 

Recently, My manager given me a responsibility to track UAT issues in my project. So I have to track them regular basic and sent reports daily to all managers for status update.  

Initially, thought of exporting the list contents to Excel and sent it to all managers. I did that for couple of days. Later I thought of exporting the list contents to Excel a Pie Chart within Excel workbook. Display the same chart in SharePoint using Excel web part. This works well. But the issue is, if the source data changes, you need to update the excel.  There is no direct sync between SharePoint list and the Pie Chart.


After some research, found that we can use Microsoft Power BI to analyze the list and build the chart. Office 365 App launcher has the web version of the Power BI. But after connecting to SharePoint list found that, web version works only with SharePoint document library, not with SharePoint Lists. It doesn’t even populate SharePoint lists while making a connection to SharePoint.



After some exploration found that, we can use combination of Desktop Power BI and web version of Power BI to integrate with SharePoint List.

So without much wasting time, lets begin.


  1. Download the Desktop version of the Power BI. https://www.microsoft.com/en-us/download/details.aspx?id=45331
  2. After installation, open the “Power BI Desktop” icon from your desktop.
  3. Click on Get Data and Select SharePoint Online List. Enter the Site URL.





  1. Click on Sign In and Sign in with your office 365 credentials.


  1. Select the appropriate login. In my case it is “Organizational Account”.


  1. Select the List (in my case it is “UAT” List) from the display and click on Load Optionally, you can remove/manipulate the columns and its values based on the type of report you wish to have. In my example, I want to create a simple report of issue tracker status.like No. of issue, assigned to whom, Application wise open issues etc. 
  2. On Visualisations, select the Pie Chart. Drag and drop the Parameters. Similarly I used lots of Visualisation for prepare full reports like Card, Clustered bar chart and Column chart etc.



  1. Save the file with extension pbix.
  2. Click on Publish button on the Ribbon. This will push the Report and its Dataset to your Office 365 Power BI Version.


  1. Once, it is uploaded to web version of Power BI, you need to update the connection and the Refresh duration

Update the Connection and Refresh Duration:

  1. In web Power BI version, click on the on the Data Connection, under Datasets.
  2. Under Data Source Credentials, click on Edit Credentials. Select OAuth2 and provide your credentials.


  1. Click on Schedule Refresh and make the changes.

Sharing:

There are 3 ways you can share the Report from Power BI

Share the Dashboard

  1. Click on + sign under Dashboard and give a name.
  2. To add the Report, select the Report and click on “Pin Live” Page.
  3. Select the Dashboard and click on Pin Live.



Share the Report via Content Pack:

  1. Click on Gear icon and click on “Create Content Pack”
  2. Give user email address, select the Report to you wish to share.



Share it via Public URL or via embedded URL:

  1. Click on the Report and click on “Publish to web” in the File menu.
  2. The popup will give you the direct URL or you can put the embed the code in Iframe.
  3. You can use this embed code in a SharePoint page to display the report.

Power BI here to stay in Microsoft eco-system and it is evolving every day.  Power BI solution is designed to help business users gain insights from their data and visualise them in a self-service way. Like SharePoint 2016, Power BI can provide solutions in hybrid scenarios.



Thank you,

4 comments:

  1. Thanks for your detailed explanation. By going through your post, I have attained a clear knowledge on the end to end aspects of Power bi. Also, looking forward to see more of such informative postings.
    Microsoft Power BI Online Training

    ReplyDelete
  2. Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site. This article is very much helpful and i hope this will be an useful information for the needed one.Keep on updating these kinds of informative things.
    oracle training in chennai

    oracle training institute in chennai

    oracle training in bangalore

    oracle training in hyderabad

    oracle training

    oracle online training

    hadoop training in chennai

    hadoop training in bangalore


    ReplyDelete
  3. Too Good article,Thank you for sharing it.
    Keep Updating...

    Power BI Online Training Hyderabad

    ReplyDelete