How to add extra context to report

Inside report print formats, there’s only three variables available for use:

  • report
  • data
  • filters

However, for my case, I have some extra processing I do inside report.py, for the whole dataset, kind of like a summary that I’d want available in the print format or the report page itself.

How do I go about this?

Hello @redgren

I’ve used both ‘message’ and ‘report_summary’ in script reports to do something similar to what you’re after. Have a look at [Tutorial] Script Report / Chart

1 Like

Thanks Eugene. Will give it a try. From just browsing, are message and report_summary standard? Or I can have custom ones as well.

Regards,
Redgren

I’ve tested the message, and summary variables but they only work on the report page but are not available to use in the print format.