MERLIN – DO A BIT OF MAGIC IN REPORTS – PART XIII

Those of you who have checked our new post series about “Merlin report templates” know by now…

Now let’s do some magic with the reports.


Report element costs by type
Should you choose to record costs on elements of Merlin projects and define the cost type, you may want to have a report outputting costs by type.

So you need to get first all elements of a project. Following python method does so, excludes private elements…

To ask element costs by kind following you can use following 3 methods:

and iterate in the WBL in plannedElementCostKinds (or actualElementCostKinds)

Result

An output sample:

And the report options:

Installation:

  • Extract the zip first
  • place the contained mrept package under the following path of your mac: ~/Library/Application Support/Merlin/Reports
  • (in case you have no “Reports” folder please create it first and pay attention to name it exactly as “Reports”)
  • restart your Merlin and
  • call File > New Report… to find the new report called “Element Costs per Kind”.