Configurable Reports

Blocks ::: block_configurable_reports
Maintained by Juan Leyva, Sara Arjona Téllez
This block is a Moodle custom reports builder. You can create custom reports without SQL knowledge. It's a tool suitable for admins or teachers.
Latest release:
15363 sites
3k downloads
458 fans
Current versions available: 6

This block is a Moodle custom reports builder.

You can create custom reports without SQL knowledge. It's a tool suitable for admins or teachers.


What type of reports can I create?

- Courses reports, with information regarding courses.

- Categories reports, with information regarding categories. A courses report can be embedded in this type of report.

- Users reports, with information regarding users and their activity in a course.

- Timeline reports, this is a special type of report that displays a timeline. A course or user report can be embedded in this timeline showing data depending on the start and end time of the current row.

- Custom SQL Reports, custom SQL queries. This block can use the same SQL queries that Tim Hunt's Custom SQL queries plugin.

Note for developers: You can create your own type of reports.


Who can view the reports?

When you create a report you can select which users can view it.
Links to reports are displayed in a block in the course or site frontpage.


Advanced features

Filters, pagination, logic conditions and permissions, plots, templates support, export to xls .

Request for new report types and plugins are welcome, please use the link "Bugs and issues" at the right.

Screenshots

Screenshot #0

Contributors

Juan Leyva (Lead maintainer)
Sara Arjona Téllez: Developer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Rick Jerz
    Cum, 25 Eki 2024, 1:52 AM
    Jesus, your tables start with mdl_. I believe that Configurable Reports want you to specifically use prefix_, not mdl_.

    Give this simple query a try and see if it works.

    select *
    from prefix_user
  • Kristina Luong
    Pzt, 4 Kas 2024, 10:25 PM
    Will there be a version that is compatible with Moodle 4.3 and when would that be released?
  • Juan Carlos Galdos
    Per, 7 Kas 2024, 4:15 PM
    ¡¡Juan, se te agradece muchísimo por las actualización a 4.5!!
  • Fabian Glagovsky
    Per, 7 Kas 2024, 4:38 PM
    Quiero también agradecer a Juan por la actualización.
  • Quintin Seegers
    Cum, 8 Kas 2024, 3:23 AM
    Thanks for the update, Juan. So glad the export issue was resolved (amongst all the others reported issues).
  • Daniel Poggenpohl
    Sal, 19 Kas 2024, 4:35 AM
    I opened an issue on Github. Now I see that the Moodle Tracker is the "official" bug tracker. What should I do? Copy the issue to the tracker?
  • Mike Wilday
    Cmt, 4 Oca 2025, 1:10 AM
    I'm really struggling to get my reports to show up to 100 rows by default. I've posted an issue here: https://github.com/Lesterhuis-Training-en-Consultancy/moodle-block_configurable_reports/issues/8. Not sure if this is a feature request or a bug. Any help would be awesome!
  • Sharon Karaa
    Cum, 21 Şub 2025, 3:21 AM
    Hi all, just a heads up - I used Grok to generate some SQL statements and it was spot on! Don't spend hours writing your own.
  • Zoran Jančić
    Pzt, 17 Mar 2025, 8:21 PM
    Great plugin, used in so many institutions all over the world. Although Moodle now has custom reports module, this plugin is so much better because we can write our own queries.

    I hope some day it will solve two major issues in reports with large amount of data:
    - for reports with filters, it should load results after clicking the Apply button and not before.
    - default search field should also work with paging enabled. That means replacing Javascript search with Ajax or something.

    One more suggestion for developers... regarding SQL reports, filtering syntax is really too limiting and complicated without real reason. Could you just use filter values as variables instead? That would make life so much easier for anyone that codes custom SQL queries for this report. This would also remove so much limitations of the current plugin and it would make plugin's PHP code so much cleaner, smaller and simple.
  • Fabian Glagovsky
    Sal, 25 Mar 2025, 3:16 PM
    Absolutely Zoran. To load results after applying filters or parameters is what is missing in this plugin. It would be perfect with it.
  • Ivan Bobrov
    Çar, 16 Nis 2025, 4:46 PM
    Question: why statement
    %%FILTER_SEARCHTEXT_lastname:uu.lastname:~%%
    works, but case insensitive does not ?
    %%FILTER_SEARCHTEXT_lastname:uu.lastname:~*%%
    it is error or by design ?
  • Dorel Manolescu
    Sal, 24 Haz 2025, 11:06 PM
    Hi Team,
    We are using Moodle version 4.5.4+ (Build: 20250502) with plugin version 2024051300, and we’ve noticed that the plugin uses the deprecated function get_all_user_name_fields() in multiple places.
    As of recent Moodle versions, it seems this function has been deprecated and removed from core. It should be replaced maybe with: \core_user\fields::get_name_fields().
    Regards
  • olga sh
    Per, 17 Tem 2025, 5:48 PM
    Hi,
    In moodle 4.5 in RTL languages it's hard to move the mouse inside the SQL editing zone.
    The cursor can be moved by using keyboard arrows but not the mouse itself.
  • Al
    Per, 7 Ağu 2025, 4:28 AM
    Hi
    I hope you are well, it's been ages. Block Reports appears to work on Moodle 5. Could you update the supported extension on your end to Moodle 5 so that it installs automatically each week when we update our Moodle instance? It saves us so much time. Cheers.
  • Al
    Sal, 26 Ağu 2025, 8:23 AM
    Hi, will you be supporting Moodle 5?
Please login to post comments