![]() |
VOOZH | about |
The CData API Server enables you to use REST, OData, JSON, or Open APIs to connect to and query Presto data. The OData standard enables real-time access to the live data, and support for OData is integrated into Power BI. This article details how to import an OData feed of Presto data into Microsoft Power BI.
Accessing and integrating live data from Trino and Presto SQL engines has never been easier with CData. Customers rely on CData connectivity to:
Presto and Trino allow users to access a variety of underlying data sources through a single endpoint. When paired with CData connectivity, users get pure, SQL-92 access to their instances, allowing them to integrate business data with a data warehouse or easily access live data directly from their preferred tools, like Power BI and Tableau.
In many cases, CData's live connectivity surpasses the native import functionality available in tools. One customer was unable to effectively use Power BI due to the size of the datasets needed for reporting. When the company implemented the CData Power BI Connector for Presto they were able to generate reports in real-time using the DirectQuery connection mode.
If you have not already done so, download the CData API Server. Once you have installed the API Server, follow the steps below to begin producing secure Presto OData services:
To work with Presto data from Microsoft Power BI, we start by creating and configuring a Presto connection. Follow the steps below to configure the API Server to connect to Presto data:
Next, create a user to access your Presto data through the API Server. You can add and configure users on the Users page. Follow the steps below to configure and create a user:
Having created a user, you are ready to create API endpoints for the Presto tables:
Having configured a connection to Presto data, created a user, and added resources to the API Server, you now have an easily accessible REST API based on the OData protocol for those resources. From the API page in API Server, you can view and copy the API Endpoints for the API:
π API EndpointsAfter pulling the data into Power BI, you can create data visualizations in the Report view. 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 genre in a pie chart (SQLite 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's value, select one of the values that are displayed in the Filters pane.
π Filtered pie chart (SQLite is shown)Click Refresh to synchronize your report with any changes to the data.
If you are interested in connecting to your Presto data (or data from any of our other supported data sources) from Microsoft Power BI, download API Server to begin creating flexible and customizable REST, OData, JSON and Open APIs from any database or data store! As always, our world-class support team is ready to answer any questions you may have.
Learn more or sign up for a free trial:
CData API Server