Skip to main content

Microsoft Power BI Integration

Dual Code's Microsoft Power BI integration lets you connect Dual Code's data to Power BI. Once connected, Power BI lets you visually display your data with charts and graphs, and create reports.

The Microsoft Power BI Integration services described below may require additional one-time and/or annual fees. For more information, please contact us.


Step-by-step Guide

To pull Dual Code learning records and data to Power BI Desktop:

  1. Open Power BI Desktop.
  2. From the Home tab, click Get Data and select More.
  3. Search for MySQL Database and click Connect.
  4. Paste the username and password provided to you by Dual Code and click OK.
  5. Click Connect.
  6. Select the tables you want to push data to Power BI and click Load.

Check out the Power BI Documentation for more info on how to use Power BI.

Important Notes

When integrating your preferred Business Intelligence (BI) tool to the database, the following technical details are worth noting:

  • The learning environment is based on Moodle, the world's most popular open-source learning management system. Moodle does not currently generate actual foreign key constraints in the database. As such, Dual Code has defined the relationship using the following convention.

    • The ID column in a table always represents the primary key and usually has the comment of "Primary key of the table."

    • A foreign key usually has the comment of "Key referencing the primary key in the [tablename] table."

  • When dealing with dates or times:

    • As a general rule, most dates/times are stored in the database as a BigInt in Unix time format (also known as Epoch time, POSIX time, seconds since the Epoch, or UNIX Epoch time). Some exceptions apply.

    • The database read-only replica is in the same timezone as the production server.

  • Dual Code has developed views to facilitate your development. 

    • Regular table start with the mdl_ prefix (e.g. mdl_course)

    • Views start with the bi_mdl_ prefix (e.g. bi_mdl_users)

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.