![]() |
VOOZH | about |
The CData Power BI Connector for SharePoint seamlessly integrates with the tools and wizards in Power BI, including the real-time data workflows on PowerBI.com. Follow the steps below to publish reports to PowerBI.com and use the Power BI Gateway to configure automatic refresh.
Accessing and integrating live data from SharePoint has never been easier with CData. Customers rely on CData connectivity to:
Most customers rely on CData solutions to integrate SharePoint data into their database or data warehouse, while others integrate their SharePoint data with preferred data tools, like Power BI, Tableau, or Excel.
For more information on how customers are solving problems with CData's SharePoint solutions, refer to our blog: Drivers in Focus: Collaboration Tools.
Installing the Power BI Connector creates a DSN (data source name) called CData Power BI SharePoint. This the name of the DSN that Power BI uses to request a connection to the data source. Configure the DSN by filling in the required connection properties.
You can use the Microsoft ODBC Data Source Administrator to create a new DSN or configure (and rename) an existing DSN: From the Start menu, enter "ODBC Data Sources." Ensure that you run the version of the ODBC Administrator that corresponds to the bitness of your Power BI Desktop installation (32-bit or 64-bit).
Set the URL property to the base SharePoint site or to a sub-site. This allows you to query any lists and other SharePoint entities defined for the site or sub-site.
The User and Password properties, under the Authentication section, must be set to valid SharePoint user credentials when using SharePoint On-Premise.
If you are connecting to SharePoint Online, set the SharePointEdition to SHAREPOINTONLINE along with the User and Password connection string properties. For more details on connecting to SharePoint Online, see the "Getting Started" chapter of the help documentation
With the data source configured, follow the steps below to load data from SharePoint tables into a dataset.
Use the Query Editor if you need more control over the query and query results before you load the data. Power BI detects the column behavior from the SharePoint metadata retrieved by the CData connector. In the Query Editor, you can perform actions like filtering, summarizing, and sorting on columns.
To open the Query Editor, click Edit in the Navigator window. Right-click a row to filter the rows. Right-click a column header to perform actions like the following:
Power BI records your query modifications in the Applied Steps section, adjusting the underlying data retrieval query that is executed to the remote SharePoint data.
When you click Load, the connector executes the underlying query to SharePoint.
After loading SharePoint data into Power BI, you can create data visualizations in the Report view by dragging fields from the Fields pane onto the canvas. Follow the steps below to create a pie chart:
You can change sort options by clicking the ellipsis (...) button for the chart. Options to select the sort column and change the sort order are displayed.
You can use both highlighting and filtering to focus on data. Filtering removes unfocused data from visualizations; highlighting dims unfocused data. You can highlight fields by clicking them:
π A highlighted account in a pie chart. (Salesforce is shown.)You can apply filters at the page level, at the report level, or to a single visualization by dragging fields onto the Filters pane. To filter on the field value, select one of the values that are displayed in the Filters pane.
π Accounts and Annual Revenue filtered by Industry. (Salesforce is shown.)Click Refresh to synchronize your report with any changes to the data.
Follow the steps below to configure automatic data refresh through the Power BI Gateway. The gateway enables the Power BI cloud service to connect to the DSN on your machine.
You need to select a gateway mode when you install the gateway:
Publishing through the gateway in personal mode simply requires an installed gateway with access to custom connectors.
Publishing through the gateway requires an installed gateway with access to customer connectors and a configured connection to the DSN for SharePoint from PowerBI.com
Follow the steps below to configure the gateway on your machine:
In the Connectors step, choose a folder where the gateway will look for the CData Power BI Connector. This article uses C:\Users\PBIEgwService\Documents\Power BI Desktop\Custom Connectors\. Copy the .pqx files for the CData Connector (found in C:\Users\USERNAME\Documents\Power BI Desktop\Custom Connectors\) to the folder you configured.
NOTE: The account configured for the service (NT SERVICE\PBIEgwService) needs to be able to access the folder chosen for the gateway. If needed, you can change the service account in the Service Settings section of the gateway installer.
You can now publish refreshable reports and their underlying datasets. Follow the steps below to publish and complete the data refresh configuration for a dataset.
Refresh the dataset to provide the current data to your reports.
Download a free trial of the SharePoint Power BI Connector to get started:
Download NowLearn more:
π SharePoint IconThe fastest and easiest way to connect Power BI to SharePoint data. Includes comprehensive high-performance data access, real-time integration, extensive metadata discovery, and robust SQL-92 support.