Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
DB2023
New Member

Power BI to Moodle - Live Connection

Hello Everyone, 

I have a question please about PowerBI and Moodle - namely, is it possible (and if so then how) to connect PowerBI to a live data source in Moodle? 
I work for a University and some work that is coming up I think will entail gaining insights on student progression - so the connection would need to be from PowerBI to the activity log in Moodle (where we can see each student per module, tasks completed, frequency of page visits etc). Any help would be much appreciated - thank you in advance for your time. 


5 REPLIES 5
v-pnaroju-msft
Community Support
Community Support

Hi DB2023,

Thank you for the update.

Should you have any further queries, kindly feel free to contact the Microsoft Fabric community.

Thank you.

v-pnaroju-msft
Community Support
Community Support

Hi DB2023,

We would like to follow up and see whether the details we shared have resolved your problem.
If you need any more assistance, please feel free to connect with the Microsoft Fabric community.

Thank you.

v-pnaroju-msft
Community Support
Community Support

Thankyou, @FBergamaschi, for your response.

Hi DB2023,

We appreciate your enquiry via the Microsoft Fabric Community Forum.

Based on my understanding, in Power BI a Live connection applies only when a report is connected directly to a published Power BI dataset. Moodle logs are stored in the underlying database or exported as files, therefore, a direct Live connection is not possible.

Please consider the following approaches, which may help to resolve the issue:

  1. Moodle stores logs in tables. If you have access to the underlying database (like PostgreSQL, MySQL or SQL Server), create a read-only view containing the required fields and use the appropriate Power BI connector ( for example:PostgreSQL, MySQL or SQL Server). For on-premises databases, configure an On-premises Data Gateway. Use Import with Incremental Refresh for large historical datasets, or DirectQuery for near real-time access bearing in mind the limitations of DirectQuery.
  2. Moodle provides web service APIs. You can extract data using Power Automate or Azure Data Factory and store it in Azure SQL or a data lake, and then connect that storage to Power BI.

We hope the information provided helps to resolve your issue. Should you have any further queries, please feel free to contact the Microsoft Fabric Community.

Thank you.

Hi @v-pnaroju-msft and @FBergamaschi , thank you both so much for getting back to me. 

This project is still in it's infancy and I don't even know if it is going to go ahead - I was just curious as to whether or not in principle it is possible. Thank you both for your suggestions - over the next few months I'm hoping to reach out to IT and see if we can get something workable set up. Thanks"! 

FBergamaschi
Super User
Super User

Hi @DB2023,

live connection is available only for Power BI Semantic models published on the Power BI Service

 

DirectQuery might be what you are looking for but that is available only for a few databases and not to flat files like a log file.

 

If you load the log file data inot a database table (SQL server for example), through some kind of script, yes you could connect in DirectQuery to that database

 

If this helped, please consider giving kudos and mark as a solution

@me in replies or I'll lose your thread

Want to check your DAX skills? Answer my biweekly DAX challenges on the kubisco Linkedin page

Consider voting this Power BI idea

Francesco Bergamaschi

MBA, M.Eng, M.Econ, Professor of BI

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.