This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
NOTE: Information in this post is valid as of 12/18/2014 and is subject to change in the future.
Data Sources within Power BI are used to define an on-premise data source within the Admin Center. Data Sources rely on a defined Gateway. You can have multiple data sources defined for a single gateway. Power BI will match the connection information in the Excel Workbook with the connection information defined in the data source to find a match.
If you are at Power BI Sites, you can click on the COG in the O365 Bar and click on Power BI Admin Center.
Or, you can just browse to https://admin.powerbi.com.
Clicking on the + will give you some options to pick from.
The first three are pretty obvious what they are for. The Power Query option could potentially be confusing. If you connected to SQL Server from Power Query, you would pick the Power Query option, not the SQL Server option. This is true for any data connection you make via Power Query.
For the OData feed, this doesn’t actually allow the OData Feed to be used straight from the internet. The URL that gets created will point to your tenant, but that will redirect you to the Gateway. You will need to have network connectivity to the Gateway. This may require you to be VPN’d in if you are remote.
Clicking next will take us to the Connection Info screen. This allows us to provide a name. This name has to be unique. We can add a description. We can defined if we want to assign this Gateway to an Administrative Group. These groups are defined with Power BI Admin and allow you to section off Gateways and Data Sources to certain people. The Global Admins within Power BI Admin can work with everything. We will then select the Gateway that we want to bind this Data Source to. I already had one defined as Gateway101.
We will then select the Data Source Type of SQL Server. We can then either provide the raw connection string, or select from the connection properties. You will have to be sure about how the connection is defined within the Excel workbook as we will use the connection information in the workbook to match with the data source. That is how Power BI determines which Data Source to use.
The biggest part of confusion here is which Connection Provider to use. If you expand that drop down, you will see four options.
The provider, by default, depends on how you pulled data into the Excel Workbook. You have three options: the Excel Data Tab, Power Query or Power Pivot. Here are the providers they will use by default within Office 2013.
We can see 4 connections listed here. We’ll look at these by selecting the connection and clicking Properties.
We want to get our OLEDB connection for the Excel Data tab setup. So, we’ll fill out the rest of the information for the server. Then the Set Credentials button will enable.
This will launch a ClickOnce app for you to set the credentials to connect to the Server from the Gateway. This has to be run on the server that is hosting the Gateway.
Privacy Level is used for Power Query Connections and will preview usage at some level. I’m just picking Organizational. Once that is done, you can hit test connection. Then hit ok. Then hit next to go to step 3.
This takes us to selecting the Tables/Views for the OData Feed that will be exposed for this Data Source. You may encounter some issues with regards to what can be shared with OData based on what is supported for Data Types. There is a link below that goes to the supported Data Types. After you select what you want, click next.
Then you can define the users and groups. This defines who can search for the OData feed in Power Query’s Online Search. After that’s done, click next.
Then you get to the last step which is the management permissions step. This allows other admins to view and modify usage access. Then click finish.
We will then see it added to the Data Source list.
You can get the connection string from the Connections area in the Excel Data Tab like it was pictured above. Just copy the whole connection string and paste it into this box and click next.
Step 2 is to provide information about the data source. You can give it a name, a description, pick a Gateway and set credential like we did for the SQL Data Source. Then hit save, and next.
Users and groups and management are the same as they were with the SQL Data source. You will then go back to the main list where we should see two data sources present and ready to be used for refreshing data.
Power BI for Office 365 Admin Center HelpCreate a Data Source and Enable OData Feed in Power BI Admin Center
Adam W. Saxton | Microsoft SQL Server Escalation Serviceshttps://twitter.com/awsaxton
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.