Power BI is a cloud based service that provides data visualization options based on the source data. Using Power BI, we can create dashboards based on the data. In order to create reports using Power BI, make sure that you have a Power BI account.
Power BI has the capability to connect to various data sources to derive data and create business intelligence reports. In this article, we will see how to import SharePoint Online List data to Power BI, and use R Programming within Power BI to create a bar chart business intelligence report out of the SharePoint data.

Prerequisites
- SharePoint Online Subscription
- Power BI Desktop
- Microsoft R Open
SharePoint Online Subscription
If you don’t have an Office 365 SharePoint Online Subscription, you can get a trial version from here.
Power BI Desktop
If you don’t have an account, you can sign up for it here. You can either work with Power BI online or download the Power BI Desktop version from here. Once downloaded, you can install it in the local machine.
Microsoft R Open
Microsoft R Open is the distribution of R from Microsoft Corporation. It is a complete open source platform for statistical analysis and data science. You can download it from here.

Once downloaded, install it on the local machine where we have installed Power BI desktop.

Continue with the installer instructions to setup R Open.

Specify the location where R Open would be installed in the local machine.

Take a note of the location. The default location is - C:\Program Files\Microsoft\MRO-3.3.1\
Configure R Open in Power BI
Once R open has been installed in the local machine, copy the path where R was installed. We will have to setup the R open location within Power BI desktop. Select options from Power BI.

From the left pane, select R Scripting.

Clicking on OK will open up the R Script Options page. Specify the R Open location in the text box.

This completes the configuration of R open within Power BI. We are good to go ahead and create business intelligence reports using R Open and Power BI.
Generate Power BI reports
Select "Get Data" option from Power BI. This will enable us to connect to various data sources.

We will choose "SharePoint Online List" as we have to derive the data from the list.

Specify the SharePoint Online List URL and click on OK.

Click on "Sign in" to connect to the SharePoint Online Site.

Specify the registered Office 365 credentials.

Once we are signed in, click on "Connect" to complete the connection to the SharePoint Site.

We will be connecting the Product Sales List which contains quarterly sales result of products.




















Rathrola Prem KumarPosted Jan 26, 2017, 7:08 AM
Nice article, Thanks for sharing :)