This month’s release of Power BI Personal Gateway is packed with new features and improvements. As with the previous releases, this release is an in-place upgrade. You do not have to uninstall the Personal Gateway before installing the new version.

You can download the latest version from within your Power BI account.

 

In this release, we have added refresh support for two new data sources – R scripts and SAP HANA. In addition, we have added a new feature to enable fast combine in the Personal Gateway.

1. Refresh R Scripts with Personal Gateway

With the November release of Power BI Desktop, you can now create workbooks that connect to R Scripts. To be able to refresh these datasets in Power BI, you need to download and install the November release of the Personal Gateway.

You can read more about R support in Power BI here  

Follow these steps to set up refresh for dataset connected to a R Script:

1.Download and install the latest version of the gateway. Do ensure that you have installed R on the same computer on which you installed the Personal Gateway

2. After uploading the dataset, click on “Scheduled Refresh” option on the dataset. Then Click on “Edit Credentials” next to the R data source.

 

3. Windows authentication will be selected for you. Select “Sign in”

 

4. The error bar will disappear and the next step is to set up the scheduled refresh. As soon as you toggle the “Keep you data up to date” to on, you’ll be shown a prompt to validate that you trust this data source. This is to ensure that you are aware that you are running the R script in the service.

 

5. Once you click OK, you can set up the schedule and save it.

Your dataset will refresh as per the scheduled you set. You can also refresh it on demand by selecting “Refresh Now” from the dataset options.

2. Refresh SAP HANA with Personal Gateway

The November version of Power BI Desktop added yet another data source – SAP HANA. And to refresh your datasets connected to SAP HANA, you need the November version of Personal Gateway.

You can read more about SAP HANA support in Power BI Desktop blog here

The experience to schedule refresh for SAP HANA dataset similar to scheduling refresh R datasets. Once you have installed the latest version of Personal Gateway, ensure that you have also installed the SAP HANA ODBC driver on the same computer where the gateway is running. You can download the driver from the SAP download page.

During edit credentials, you have to select “Basic” Authentication in the credentials dialog. Then specify your username and password to connect to the database.

 

Rest of the experience is the same as scheduling refresh for any other dataset.

3. Enable Fast Combine in Personal Gateway

When you mash up or merge data sources in Power BI Desktop or Power Query, you are asked to select a Privacy Level (Private, Organizational or Public). However, in Power BI service, we automatically set it the Privacy Level to Private to ensure full security for your data sources. In a very minor cases, this may result in refresh failures with the following error message:

An error occurred while processing the data in the dataset.

[Unable to combine data] <query part>/<…>/<…> is accessing data sources that have privacy levels which cannot be used together. Please rebuild this data combination.

To fix this error, the solution is to turn on “Fast Combine” in the Personal Gateway. You can read more about the Fast Combine and Privacy levels here.

Turn on Fast Combine

You can use the following steps to enable Fast Combine for your gateway.

1. Open ConnectorConfig.xml.  This may be in one of two locations on your machine.  If you are an administrator on the computer, it will be the following.

C:\Program Files\Power BI Personal Gateway\1.0\Configurator\Connector

If you are not an administrator, the location will be the following. C:\Users\[username]\AppData\Local\Power BI Personal Gateway\1.0\Configurator\Connector

2. Add the <EnableFastCombine> element with a value of true to the config file. Adding this element will turn Fast Combine on<EnableFastCombine>true</EnableFastCombine>

 

3. Exit and re-launch the gateway configuration screen.

4. You will see a status letting you know that Fast Combine is enabled.

 

To Turn off Fast Combine, remove the <EnableFastCombine> element from the config file.

You can read more about this feature here

4. New version notification

In addition to the features in Personal Gateway, we have also added a notification to the Scheduled Refresh Setting page when a new version of the Personal Gateway is available for download.

 

You can click on “Upgrade Gateway” to download and install the latest version of the Personal Gateway.

It is important that you are always on the latest version of the Personal Gateway to get access to the latest features and also to ensure that you have the latest version of M engine. 

Stay tuned for updates every month. We’ll continue to release fixes and updates to the Personal Gateway. You can learn more about the Personal Gateway here.

For any questions, feedback and comments, send an email to hybridbi@microsoft.com