Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Downloading Pentaho Report Designer

Pentaho Report Designer is a reporting tool which can be downloaded from sourceforce. Mifos supports Pentaho Report Designer 3.6.0-stable. To download appropriate version it is necessary to follow the steps below:

  • Go to http://reporting.pentaho.com/ page
  • Find Reporting Creation Tools section and click on Downloads link
  • It’ll send You to sourceforce page
  • Select 3.6.0-stable link from the list
  • Choose archive file from the list to download it
  • Extract downloaded archive

...

The application can be executed using report-designer.bat, report-designer.sh in unix or by launcher.jar. The first step in creating a report is to create blanc report template. You can do this by choosing ‘New Report’ from Welcome window or by choosing File -> New

Image RemovedImage Added

Next step is to choose Data->Add datasource->JDBC from Report Designer menu. It will open JDBC Data Source window. To add connection to local Mifos database You have to click on ‘Add a new connection’ button:

Image RemovedImage Added

In the new form set the database connection settings:

  • Connection name: Mifos
  • Connection type: MySQL
  • Host name: localhost
  • Database name: mifos
  • Port number: 3306
  • User name: <username>
  • Password: <password to database>
  • Access: Native (JDBC)

Image RemovedImage Added

To verify connection You can click on ‘Test’ button. If everything is OK then Message Box will appear:

...

  • From Connections list select ‘Mifos’.
  • Click on ‘Add Query...’ button, ‘Query 1’ will appear on ‘Available Queries’ and ‘Query Name’ field. You can change it’s name. 
  • Click on yellow line on ‘Query’ field to start writing query
  • Type: SELECT * FROM customer

Image RemovedImage Added

If You have some customers on Your Mifos instance then after clicking ‘Preview’ button You will see informations about them. This query is just example. You can select data from other tables, and using specific parameters .

Click on ok and go to Report Designer Editor. On right side of the screen You see sidebar with to tabs: ‘Structure’ and ‘Data’. Choose ‘Data’ and double click on ‘Data Sets’,  You will see JDBC (Mifos) connection, under this connection You will find recently added query (Query 1) and whole data from customer table.

Image RemovedImage Added

Displaying a field in the final report is very easy, simply click on it's name and drag the field on the Details band.

Image RemovedImage Added

If You want to check if it works just click on ‘Run’ button (green triangle) from task bar.