SlideShare a Scribd company logo
]po[ Reporting & Indicators Options The ]project-open[ Data-Model , Frank Bergmann,  2010-10-06 This tutorial explains a number of different ways to extract information from ]project-open[ as a kind of “report”
Overview: Different Types of Reports Reporting is one of the most basic requirements for a business application. ]project-open[ provides a large variety of different ways to display data with  differing degrees of sophistication and complexity: Simple SQL Query in pgAdminIII or PSQL : Simply execute a SQL query using a PostgreSQL client outside of ]po[ MS-Access Report : You can store MS-Access reports in a ]po[ filestorage or even link to it using a “menu” MS-Excel Report : You can define the ]po[ database as a data-source for MS-Excel. im_ad_hoc_query $sql in /ds/shell : Useful for ad-hoc queries and for development. im_ad_hoc_query $sql in a TCL page : Easy way to deploy an ad-hoc query in a production system. You can also add a menu to the reporting section. Dynamic Report (Reporting -> New Report) : Similar to ad-hoc query, but with built-in deployment. ]po[ Reporting Engine : The ]po[ reporting engine allows for grouping, aggregation, sub-totals and grand totals. Nightly Evaluation of Long Running Reports : You can setup a “cron” script to save report results as a static HTML page at night. Indicator : A special type of report that returns only a single numeric value. ]po[ takes care to regularly evaluate the SQL query and to store the values to create a timeline. Histogram Chart : A histogram is a Portlet that takes a SQL query as an argument. The query needs to return rows with Name – Value pairs. Data-Warehouse Cube : DW-Cubes may already cover your reporting needs. You can aggregate by drop-down type of DynFields. Pie Chart based on DW-Cube : You can show a pie chart of the summary of a DW cube.
Simple SQL Query in pgAdminIII or PSQL pgAdminIII allows you to execute SQL queries manually. pgAdminIII allows to save SQL queries in .sql files Advantages: Quick development Integrated with tree-view to the database, tables, views etc. Disadvantages: Requires manual execution
MS-Access Report You can use Microsoft Access as a reporting engine: MS-Access can access the ]project-open[ PostgreSQL database without problems You can use all available MS-Access tools to develop your reports Advantages: Comfortable development tools Easy entry for beginners Disadvantages Security issues if every computer has full access to the database. As an alternative, you could report on certain views only with restricted permissions. Every computer needs a PostgreSQL ODBC installed locally
MS-Excel Report You can use Microsoft Excel as a reporting engine: MS-Excel can access the ]project-open[ PostgreSQL database without problems You can use all available MS-Excel tools to develop your reports, including pivot tables and Excel macros. Advantages: Comfortable development tools Easy entry for beginners Excel allows for complex post-processing of data in separate sheets Pivot tables allow for data-warehouse like reports Disadvantages Limitation of the number of rows Security issues if every computer has full access to the database. As an alternative, you could report on certain views only with restricted permissions. Every computer needs a PostgreSQL ODBC installed locally
im_ad_hoc_query $sql in /ds/shell The ]project-open[/OpenACS /ds/shell page allows developers to execute TCL commands interactively The “im_ad_hoc_query $sql” TCL command takes a SQL query and returns the results in “html”, “csv” or “plain” format Advantages: Well suitable for ad-hoc queries Integrated into ]project-open[ Working queries can be easily deployed (see later reporting options) Disadvantages: /ds/shell requires manual execution im_ad_hoc_query does not support aggregation and parameters.
im_ad_hoc_query $sql in a TCL page Once your query is running in the /ds/shell environment, you can easily deploy the report as a ]project-open[ page. The example below shows how to include the “im_ad_hoc_query” statement into a “.ADP” page. You may then create a new menu item in the ]po[ reporting section (Admin -> Menus -> Create New Menu) in order to integrate the new report into the rest of the system. Advantage: Easy deployment of reports developed in /ds/shell Integrated with the rest of the ]po[ environment Disadvantages: im_ad_hoc_query doesn’t support grouping and sub-totals No security. You will have to add security checks manually.
Dynamic Report (Reporting -> New Report) Administrators can create new reports in Reporting -> New Report These “dynamic reports” behave just like im_ad_hoc_query. Advantages: Dynamic Reports automatically create a menu item for you that links to the report and allow to manage permissions Dynamic Reports allow you to export the data in CSV format. Disadvantages: Like all im_ad_hoc_query based reports: No grouping and sub-totals.
]po[ Reporting Engine The ]po[ reporting engine allows to create arbitrarily complex reports in a style similar to MS-Access and Crystal Reports. Advantages: Allows for group, sub-totals and totals Allows for parameters Allows for different “Levels of Detail” Allows for “drill-down”. Clicking on one of the [+] icons will show a more details view Disadvantages: Requires considerable TCL programming skills
Nightly Evaluation of Long Running Reports Reports frequently can take several seconds or even minutes to execute. One way to provide users with a more agile reply is to pre-evaluate reports (at night) and to provide the results as a static HTML page to the user. The following command will execute the “report.adp” and store the results as a static HTML page: wget http://localhost/report -o ~/www/report.html Advantages: Fast response time The static HTML page still provides drill-in capabilities. Disadvantages: Extra effort to schedule the evaluation Scheduling many reports may lead to overlaps at night
Indicators Indicators are a special type of “report” that only returns a single numeric value. ]po[ takes care to regularly evaluate the SQL query and to store the values to create a timeline. Indicators allow for permissions per indicator, so you can limit the visibility to certain user groups. Advantages: Allows to build management dashboards, balanced scorecards etc. Disadvantages: Only suitable for certain reporting purposes It is very difficult to develop indicators that are really relevant to a business.
Histogram Chart A histogram chart is a simple “Portlet Component” that takes a SQL query as a parameter. The query needs to return two columns only: A name (here: ticket_type) A number (here: count) Advantages: Easy to develop Easy to integrate into existing pages in ]po[ Disadvantages: Limited reporting capabilities
Data-Warehouse Cube ]po[ includes an integrated Data-Warehouse as a commercial add-on package. “ Cubes” are capable of aggregating data along many “dimensions”. Advantages: One DW-cube can replace tens of separate reports. DW-cubes allow the user to “slice and dice” data DynFields (drop-down) can be used as “dimensions” in a DW. For example, a “Business Sector” DynField per customer will automatically appear in the Finance cube. Seamlessly integrated into ]po[ Disadvantages: Commercial package, license costs. Only numeric values can be shown in a DW
Pie Chart Based on DW-Cube Pie charts can take a “sum” column of a data-warehouse cube as a data-source. Advantages: Easy creation of pie charts Disadvantages: Data can only be extracted from existing DW-cubes.
Frank Bergmann [email_address] www.project-open.com

More Related Content

PPT
Eclipse Mylyn Integration with ]project-open[
PPT
]po[ Developers: Reporting, Indicators & Dashboards
PPT
]project-open[ Data-Model “Categories”
PPT
]project-open[ My First Package
PPT
]project-open[ on Amazon AWS
DOCX
Hidden tables of sap business objects planning and consolidation
PPT
Serious Sencha - Data Layer and Server-Side REST Interface
PPT
Oracle reports
Eclipse Mylyn Integration with ]project-open[
]po[ Developers: Reporting, Indicators & Dashboards
]project-open[ Data-Model “Categories”
]project-open[ My First Package
]project-open[ on Amazon AWS
Hidden tables of sap business objects planning and consolidation
Serious Sencha - Data Layer and Server-Side REST Interface
Oracle reports

What's hot (20)

PPT
]project-open[ Workflow Developer Tutorial Part 3
PPTX
Introduction to ASP.NET MVC
PDF
Example User Stories Specification for ReqView
PDF
Towards Requirements Management Issues in Excel
PDF
Code vauch
PPT
]project-open[ Budget Planning and Tracking
PPTX
Intro ASP MVC
PDF
Ideas In Wincc Toolset
PPT
Ssrs 2005 Reporting Services
PDF
N-Tier, Layered Design, SOA
PPT
Examples of My Work and Creativity
PPTX
Jsp with mvc
PDF
Bi publisher starter guide to develop first report
PDF
Oracle forms developer 10g vol1
PPS
Oracle Framework Personalization
PPTX
Mvc pattern and implementation in java fair
PPT
What's New for Presentation in Visual Studio 2008 SP1
PDF
Navigating the Requirements Management application: Web client
PPTX
Task recorder control
PDF
Model View Controller (MVC)
]project-open[ Workflow Developer Tutorial Part 3
Introduction to ASP.NET MVC
Example User Stories Specification for ReqView
Towards Requirements Management Issues in Excel
Code vauch
]project-open[ Budget Planning and Tracking
Intro ASP MVC
Ideas In Wincc Toolset
Ssrs 2005 Reporting Services
N-Tier, Layered Design, SOA
Examples of My Work and Creativity
Jsp with mvc
Bi publisher starter guide to develop first report
Oracle forms developer 10g vol1
Oracle Framework Personalization
Mvc pattern and implementation in java fair
What's New for Presentation in Visual Studio 2008 SP1
Navigating the Requirements Management application: Web client
Task recorder control
Model View Controller (MVC)
Ad

Similar to ]project-open[ Reporting & Indicators Options (20)

PDF
Pentaho BootCamp : Using the Pentaho Reporting Tools
PDF
Comparison of Reporting architectures
PDF
DMann-SQLDeveloper4Reporting
PDF
Why PostgreSQL for Analytics Infrastructure (DW)?
PPT
Netvu test slideshow
PPTX
Data Mart Lake Ware.pptx
PPTX
Splunk Ninjas: New Features, Pivot, and Search Dojo
PPTX
Splunk Ninjas: New features, pivot, and search dojo
PDF
Data Warehouse approaches with Dynamics AX
PPTX
Data warehouse,data mining & Big Data
PPTX
OLAP & DATA WAREHOUSE
PDF
No sql now2011_review_of_adhoc_architectures
PPTX
OLAP & Data Warehouse
DOC
business analysis-Data warehousing
PPTX
Data Mining & Data Warehousing
PDF
Data base management system
KEY
EG Reports - Delicious Data
PPT
Business Intelligence with SQL Server
PDF
Openobject bi
PPTX
Splunk live! ninjas_break-out
Pentaho BootCamp : Using the Pentaho Reporting Tools
Comparison of Reporting architectures
DMann-SQLDeveloper4Reporting
Why PostgreSQL for Analytics Infrastructure (DW)?
Netvu test slideshow
Data Mart Lake Ware.pptx
Splunk Ninjas: New Features, Pivot, and Search Dojo
Splunk Ninjas: New features, pivot, and search dojo
Data Warehouse approaches with Dynamics AX
Data warehouse,data mining & Big Data
OLAP & DATA WAREHOUSE
No sql now2011_review_of_adhoc_architectures
OLAP & Data Warehouse
business analysis-Data warehousing
Data Mining & Data Warehousing
Data base management system
EG Reports - Delicious Data
Business Intelligence with SQL Server
Openobject bi
Splunk live! ninjas_break-out
Ad

More from Klaus Hofeditz (17)

PPT
Serious Sencha - Using Sencha ExtJS/Touch for Enterprise Applications
PPT
]po[ Sencha File-Storage Specs
PPT
The ]project-open[ Community
PPT
Tutorial: Writing Sencha Touch Mobile Apps using ]project-open[
PPT
]project-open[ Extensible Architecture
PPT
]project-open[ Data-Model 100511b
PPT
]project-open[ Screenshots
PPT
]project-open[ CVS+ACL Permission Configuration
PPT
Po workflow-tutorial-1-overview.100603
PPT
]project-open[ Reporting & Indicators Options
PPT
]project-open[ Workflow Developer Tutorial Part 4
PPT
]project-open[ Workflow Developer Tutorial Part 2
PPT
]project-open[ Workflow Developer Tutorial Part 1
PPT
]project-open[ Package Manager
PPT
]project-open[ Roll Out Plan
PPT
]project-open[ Timesheet Project Invoicing
PPT
]project-open[ OSS Project Mangement
Serious Sencha - Using Sencha ExtJS/Touch for Enterprise Applications
]po[ Sencha File-Storage Specs
The ]project-open[ Community
Tutorial: Writing Sencha Touch Mobile Apps using ]project-open[
]project-open[ Extensible Architecture
]project-open[ Data-Model 100511b
]project-open[ Screenshots
]project-open[ CVS+ACL Permission Configuration
Po workflow-tutorial-1-overview.100603
]project-open[ Reporting & Indicators Options
]project-open[ Workflow Developer Tutorial Part 4
]project-open[ Workflow Developer Tutorial Part 2
]project-open[ Workflow Developer Tutorial Part 1
]project-open[ Package Manager
]project-open[ Roll Out Plan
]project-open[ Timesheet Project Invoicing
]project-open[ OSS Project Mangement

Recently uploaded (20)

PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Approach and Philosophy of On baking technology
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Modernizing your data center with Dell and AMD
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Empathic Computing: Creating Shared Understanding
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
KodekX | Application Modernization Development
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
cuic standard and advanced reporting.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Approach and Philosophy of On baking technology
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Network Security Unit 5.pdf for BCA BBA.
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Modernizing your data center with Dell and AMD
NewMind AI Monthly Chronicles - July 2025
Spectral efficient network and resource selection model in 5G networks
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Dropbox Q2 2025 Financial Results & Investor Presentation
Empathic Computing: Creating Shared Understanding
The Rise and Fall of 3GPP – Time for a Sabbatical?
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Diabetes mellitus diagnosis method based random forest with bat algorithm
KodekX | Application Modernization Development
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
cuic standard and advanced reporting.pdf

]project-open[ Reporting & Indicators Options

  • 1. ]po[ Reporting & Indicators Options The ]project-open[ Data-Model , Frank Bergmann, 2010-10-06 This tutorial explains a number of different ways to extract information from ]project-open[ as a kind of “report”
  • 2. Overview: Different Types of Reports Reporting is one of the most basic requirements for a business application. ]project-open[ provides a large variety of different ways to display data with differing degrees of sophistication and complexity: Simple SQL Query in pgAdminIII or PSQL : Simply execute a SQL query using a PostgreSQL client outside of ]po[ MS-Access Report : You can store MS-Access reports in a ]po[ filestorage or even link to it using a “menu” MS-Excel Report : You can define the ]po[ database as a data-source for MS-Excel. im_ad_hoc_query $sql in /ds/shell : Useful for ad-hoc queries and for development. im_ad_hoc_query $sql in a TCL page : Easy way to deploy an ad-hoc query in a production system. You can also add a menu to the reporting section. Dynamic Report (Reporting -> New Report) : Similar to ad-hoc query, but with built-in deployment. ]po[ Reporting Engine : The ]po[ reporting engine allows for grouping, aggregation, sub-totals and grand totals. Nightly Evaluation of Long Running Reports : You can setup a “cron” script to save report results as a static HTML page at night. Indicator : A special type of report that returns only a single numeric value. ]po[ takes care to regularly evaluate the SQL query and to store the values to create a timeline. Histogram Chart : A histogram is a Portlet that takes a SQL query as an argument. The query needs to return rows with Name – Value pairs. Data-Warehouse Cube : DW-Cubes may already cover your reporting needs. You can aggregate by drop-down type of DynFields. Pie Chart based on DW-Cube : You can show a pie chart of the summary of a DW cube.
  • 3. Simple SQL Query in pgAdminIII or PSQL pgAdminIII allows you to execute SQL queries manually. pgAdminIII allows to save SQL queries in .sql files Advantages: Quick development Integrated with tree-view to the database, tables, views etc. Disadvantages: Requires manual execution
  • 4. MS-Access Report You can use Microsoft Access as a reporting engine: MS-Access can access the ]project-open[ PostgreSQL database without problems You can use all available MS-Access tools to develop your reports Advantages: Comfortable development tools Easy entry for beginners Disadvantages Security issues if every computer has full access to the database. As an alternative, you could report on certain views only with restricted permissions. Every computer needs a PostgreSQL ODBC installed locally
  • 5. MS-Excel Report You can use Microsoft Excel as a reporting engine: MS-Excel can access the ]project-open[ PostgreSQL database without problems You can use all available MS-Excel tools to develop your reports, including pivot tables and Excel macros. Advantages: Comfortable development tools Easy entry for beginners Excel allows for complex post-processing of data in separate sheets Pivot tables allow for data-warehouse like reports Disadvantages Limitation of the number of rows Security issues if every computer has full access to the database. As an alternative, you could report on certain views only with restricted permissions. Every computer needs a PostgreSQL ODBC installed locally
  • 6. im_ad_hoc_query $sql in /ds/shell The ]project-open[/OpenACS /ds/shell page allows developers to execute TCL commands interactively The “im_ad_hoc_query $sql” TCL command takes a SQL query and returns the results in “html”, “csv” or “plain” format Advantages: Well suitable for ad-hoc queries Integrated into ]project-open[ Working queries can be easily deployed (see later reporting options) Disadvantages: /ds/shell requires manual execution im_ad_hoc_query does not support aggregation and parameters.
  • 7. im_ad_hoc_query $sql in a TCL page Once your query is running in the /ds/shell environment, you can easily deploy the report as a ]project-open[ page. The example below shows how to include the “im_ad_hoc_query” statement into a “.ADP” page. You may then create a new menu item in the ]po[ reporting section (Admin -> Menus -> Create New Menu) in order to integrate the new report into the rest of the system. Advantage: Easy deployment of reports developed in /ds/shell Integrated with the rest of the ]po[ environment Disadvantages: im_ad_hoc_query doesn’t support grouping and sub-totals No security. You will have to add security checks manually.
  • 8. Dynamic Report (Reporting -> New Report) Administrators can create new reports in Reporting -> New Report These “dynamic reports” behave just like im_ad_hoc_query. Advantages: Dynamic Reports automatically create a menu item for you that links to the report and allow to manage permissions Dynamic Reports allow you to export the data in CSV format. Disadvantages: Like all im_ad_hoc_query based reports: No grouping and sub-totals.
  • 9. ]po[ Reporting Engine The ]po[ reporting engine allows to create arbitrarily complex reports in a style similar to MS-Access and Crystal Reports. Advantages: Allows for group, sub-totals and totals Allows for parameters Allows for different “Levels of Detail” Allows for “drill-down”. Clicking on one of the [+] icons will show a more details view Disadvantages: Requires considerable TCL programming skills
  • 10. Nightly Evaluation of Long Running Reports Reports frequently can take several seconds or even minutes to execute. One way to provide users with a more agile reply is to pre-evaluate reports (at night) and to provide the results as a static HTML page to the user. The following command will execute the “report.adp” and store the results as a static HTML page: wget http://localhost/report -o ~/www/report.html Advantages: Fast response time The static HTML page still provides drill-in capabilities. Disadvantages: Extra effort to schedule the evaluation Scheduling many reports may lead to overlaps at night
  • 11. Indicators Indicators are a special type of “report” that only returns a single numeric value. ]po[ takes care to regularly evaluate the SQL query and to store the values to create a timeline. Indicators allow for permissions per indicator, so you can limit the visibility to certain user groups. Advantages: Allows to build management dashboards, balanced scorecards etc. Disadvantages: Only suitable for certain reporting purposes It is very difficult to develop indicators that are really relevant to a business.
  • 12. Histogram Chart A histogram chart is a simple “Portlet Component” that takes a SQL query as a parameter. The query needs to return two columns only: A name (here: ticket_type) A number (here: count) Advantages: Easy to develop Easy to integrate into existing pages in ]po[ Disadvantages: Limited reporting capabilities
  • 13. Data-Warehouse Cube ]po[ includes an integrated Data-Warehouse as a commercial add-on package. “ Cubes” are capable of aggregating data along many “dimensions”. Advantages: One DW-cube can replace tens of separate reports. DW-cubes allow the user to “slice and dice” data DynFields (drop-down) can be used as “dimensions” in a DW. For example, a “Business Sector” DynField per customer will automatically appear in the Finance cube. Seamlessly integrated into ]po[ Disadvantages: Commercial package, license costs. Only numeric values can be shown in a DW
  • 14. Pie Chart Based on DW-Cube Pie charts can take a “sum” column of a data-warehouse cube as a data-source. Advantages: Easy creation of pie charts Disadvantages: Data can only be extracted from existing DW-cubes.
  • 15. Frank Bergmann [email_address] www.project-open.com