Visualize Live CSV Data in Power BI (via CData Connect AI)

Jerod Johnson
Jerod Johnson
Director, Technology Evangelism
Use the CData Power BI Connector and CData Connect AI to integrate live CSV data into custom reports in Power BI.

Power BI transforms your company's data into rich visuals for you to collect and organize so you can focus on what matters to you. When paired with CData Connect AI, you get access to CSV data for visualizations, dashboards, and more. This article shows how to use CData Connect to create a live connection to CSV, connect to CSV data from Power BI and then create reports on CSV data in Power BI.

Configure CSV Connectivity for Power BI

Connectivity to CSV from Power BI is made possible through CData Connect AI. To work with CSV data from Power BI, we start by creating and configuring a CSV connection.

  1. Log into Connect AI, click Sources, and then click Add Connection
  2. Adding a Connection
  3. Select "CSV" from the Add Connection panel
  4. Selecting a data source
  5. Enter the necessary authentication properties to connect to CSV.

    Connecting to Local or Cloud-Stored (Box, Google Drive, Amazon S3, SharePoint) CSV Files

    CData Drivers let you work with CSV files stored locally and stored in cloud storage services like Box, Amazon S3, Google Drive, or SharePoint, right where they are.

    Setting connection properties for local files

    Set the URI property to local folder path.

    Setting connection properties for files stored in Amazon S3

    To connect to CSV file(s) within Amazon S3, set the URI property to the URI of the Bucket and Folder where the intended CSV files exist. In addition, at least set these properties:

    • AWSAccessKey: AWS Access Key (username)
    • AWSSecretKey: AWS Secret Key

    Setting connection properties for files stored in Box

    To connect to CSV file(s) within Box, set the URI property to the URI of the folder that includes the intended CSV file(s). Use the OAuth authentication method to connect to Box.

    Dropbox

    To connect to CSV file(s) within Dropbox, set the URI proprerty to the URI of the folder that includes the intended CSV file(s). Use the OAuth authentication method to connect to Dropbox. Either User Account or Service Account can be used to authenticate.

    SharePoint Online (SOAP)

    To connect to CSV file(s) within SharePoint with SOAP Schema, set the URI proprerty to the URI of the document library that includes the intended CSV file. Set User, Password, and StorageBaseURL.

    SharePoint Online REST

    To connect to CSV file(s) within SharePoint with REST Schema, set the URI proprerty to the URI of the document library that includes the intended CSV file. StorageBaseURL is optional. If not set, the driver will use the root drive. OAuth is used to authenticate.

    Google Drive

    To connect to CSV file(s) within Google Drive, set the URI property to the URI of the folder that includes the intended CSV file(s). Use the OAuth authentication method to connect and set InitiateOAuth to GETANDREFRESH.

    Configuring a connection (Salesforce is shown)
  6. Click Save & Test
  7. Navigate to the Permissions tab in the Add CSV Connection page and update the User-based permissions. Updating permissions

With the connection configured, you are ready to connect to CSV data from Power BI.

Query CSV Tables

Follow the steps below to build a query to pull CSV data into the report:

  1. Open Power BI Desktop and click Get Data -> Online Services -> CData Connect AI and click "Connect"
  2. Click "Sign in" and authenticate with your CData Connect AI account Authenticating with Connect AI
  3. After signing in, click "Connect" Connecting to Connect AI
  4. Select tables in the Navigator dialog The available tables. (Salesforce tables are shown)
  5. Click Load to establish the connection to your CSV data from Power BI

Create CSV Data Visualizations

After connecting to the data into Power BI, you can create data visualizations in the Report view by dragging fields from the Fields pane onto the canvas. Select the dimensions and measures you wish to visualize along with the chart type.

Visualizing data in Power BI (Salesforce data is shown)

Click Refresh to synchronize your report with any changes to the data.

Live Access to CSV Data from Data Applications

With CData Connect AI you have a direct connection to CSV data from Power BI. You can import more data, create new visualizations, build reports, and more — all without replicating CSV data.

To get SQL data access to hundreds of SaaS, Big Data, and NoSQL sources (including CSV) directly from your on-premise BI, reporting, ETL and other data applications, visit the CData Connect AI page and start a free trial.

Ready to get started?

Learn more about CData Connect AI or sign up for free trial access:

Free Trial