VOOZH about

URL: https://www.cdata.com/kb/tech/powerbixmla-jdbc-jetbrains-rubymine.rst

⇱ Integrate Power BI XMLA with JetBrains RubyMine using CData JDBC Drivers


Integrate Power BI XMLA with JetBrains RubyMine using CData JDBC Drivers

πŸ‘ Anusha M B
Anusha M B
Technical Marketing Engineer
Learn how to integrate Power BI XMLA with JetBrains RubyMine using the CData JDBC Driver for live SQL based access to Power BI XMLA data.

CData JDBC Driver for Power BI XMLA offer standardized JDBC connectivity to 200+ data sources, allowing developers to treat SaaS and cloud APIs as relational databases. By integrating these drivers into JetBrains RubyMine, user can connect IDE directly to external systems like CRM or ERP platforms, enabling SQL based data access and real-time querying.

RubyMine is a advanced IDE for Ruby and Rails development that offers advanced coding assistance, debugging, and database tools. Through CData JDBC integration, developers can link RubyMine with Power BI XMLA for easy access to live Power BI XMLA data.

Overview

Here is a quick overview of the integration process:

  1. Set Up Environment: Configure the Ruby interpreter in RubyMine
  2. Install JDBC Driver: Add the CData JDBC Driver for Power BI XMLA to RubyMine's database configuration
  3. Connect: Establish a live connection to Power BI XMLA and begin querying Power BI XMLA data

Configure the Ruby Interpreter in RubyMine

After installing the Ruby interpreter, open RubyMine and configure the environment.

  1. Create a New Empty Project
  2. Select the interpreter for example, C:\Ruby34-x64\bin uby.exe
  3. Click Create to initialize the project
πŸ‘ Add interpreter path

Add the CData JDBC Driver for Power BI XMLA

Next, configure the CData JDBC Driver for Power BI XMLA within RubyMine.

  1. Go to View, select Tool Windows and click Database to open the database panel
  2. πŸ‘ Open the Database panel
  3. Click the "+" icon and choose Driver from the dropdown
  4. πŸ‘ Add a new driver
  5. In the Data Sources and Drivers window:
    • Provide a Name for the driver (e.g., CData Power BI XMLA JDBC)
    • Click "+" in the Driver Files section and select Custom JARs
    • πŸ‘ Select Custom JARs
    • Locate and open the cdata.jdbc.powerbixmla.jar file
    • Set the Class to cdata.jdbc.powerbixmla.Power BI XMLADriver
  6. πŸ‘ Configure driver class

Create the Power BI XMLA data source

  1. Click Create Data Source and choose the newly created driver
  2. In the connection window, confirm that the selected driver is correct
  3. Enter your connection details:
    • Name: Power BI XMLA Connection
    • URL: jdbc:powerbixmla:User=username;Password=password;
    • Username and Password: User Power BI XMLA credentials
    πŸ‘ Configure data source properties
  4. Click Test Connection. If successful, click OK to save
  5. πŸ‘ Test the connection

Query live Power BI XMLA data

Once the connection is established, you can query live Power BI XMLA data directly within RubyMine.

  1. Open the Database Console
  2. Run SQL queries, for example:
    SELECT * FROM Power BI XMLA data_Table LIMIT 10;
  3. πŸ‘ Querying inside RubyMine

Developers can now easily access and manipulate Power BI XMLA data using SQL inside RubyMine bridging code development and live data access in one unified environment.


Connect RubyMine to hundreds of Data Sources with CData

CData JDBC Drivers bring real time data connectivity to your development environment. With support for hundreds of sources, including CRM, ERP, analytics, and cloud APIs, developers can query, visualize, and build data driven applications without leaving their IDE.

Start your 30-day free trial to experience the full potential of live data connectivity.

Ready to get started?

Download a free trial of the Power BI XMLA Driver to get started:

 Download Now

Learn more:

πŸ‘ Power BI XMLA Icon
Power BI XMLA JDBC Driver

Rapidly create and deploy powerful Java applications that integrate with Power BI XMLA.