Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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 push 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.

Technical Notes

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.


  • No labels