SlideShare a Scribd company logo
]po[ Developers: Reporting,
Indicators & Dashboards
Frank Bergmann, 2013-04-06
This tutorial explains various options on how to extract and
display information from ]project-open[.
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[ HTML Reporting Engine:
The ]po[ reporting engine allows for grouping, aggregation, sub-totals and grand totals.
 ]po[ OpenOffice “PowerPoint” Reporting Engine:
This reporting engine allows to create OpenOffice Impress (PowerPoint) slides based on templates.
 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.
 Sencha Charts:
You can setup a “cron” script to save report results as a static HTML page at night.
 Nightly Evaluation of Long Running Reports:
You can setup a “cron” script to save report results as a static HTML page at night.
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[ HTML 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
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.
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
Frank Bergmann
frank.bergmann@project-open.com
www.project-open.com

More Related Content

What's hot

]project-open[ Workflow Developer Tutorial Part 3
]project-open[ Workflow Developer Tutorial Part 3]project-open[ Workflow Developer Tutorial Part 3
]project-open[ Workflow Developer Tutorial Part 3
Klaus Hofeditz
 
Hidden tables of sap business objects planning and consolidation
Hidden tables of sap business objects planning and consolidationHidden tables of sap business objects planning and consolidation
Hidden tables of sap business objects planning and consolidation
daniyariskakov
 
Towards Requirements Management Issues in Excel
Towards Requirements Management Issues in ExcelTowards Requirements Management Issues in Excel
Towards Requirements Management Issues in Excel
Eccam
 
XML Unit 01
XML Unit 01XML Unit 01
WCF (Windows Communication Foundation_Unit_01)
WCF (Windows Communication Foundation_Unit_01)WCF (Windows Communication Foundation_Unit_01)
WCF (Windows Communication Foundation_Unit_01)
Prashanth Shivakumar
 
Oracle apps online training
Oracle apps online trainingOracle apps online training
Oracle apps online training
Sekhar Byna
 
Oracle forms developer 10g vol1
Oracle forms developer 10g vol1Oracle forms developer 10g vol1
Oracle forms developer 10g vol1abdull466
 
Visual basic databases
Visual basic databasesVisual basic databases
Visual basic databases
Speed Cyber Cafe
 
Oracle D2K reports
Oracle D2K reports Oracle D2K reports
Oracle D2K reports
Rajesh Ch
 
Flex 3 - Introduction
Flex 3 - IntroductionFlex 3 - Introduction
Flex 3 - Introduction
rakhtar
 
Application engine
Application engineApplication engine
Application engineJAYAARC
 
Exploring Layouts and Providers
Exploring Layouts and ProvidersExploring Layouts and Providers
Exploring Layouts and Providers
senthil0809
 
Application Architechture
Application ArchitechtureApplication Architechture
Application Architechture
Nikhil Kulkarni
 
Ideas In Wincc Toolset
Ideas In Wincc ToolsetIdeas In Wincc Toolset
Ideas In Wincc Toolset
x yx
 
]project-open[ Budget Planning and Tracking
]project-open[ Budget Planning and Tracking]project-open[ Budget Planning and Tracking
]project-open[ Budget Planning and Tracking
Klaus Hofeditz
 
J2ee connector architecture
J2ee connector architectureJ2ee connector architecture
J2ee connector architecture
Subhasis Nayak
 
Client Object Model - SharePoint Extreme 2012
Client Object Model - SharePoint Extreme 2012Client Object Model - SharePoint Extreme 2012
Client Object Model - SharePoint Extreme 2012
daniel plocker
 
Oracle Forms Introduction
Oracle Forms IntroductionOracle Forms Introduction
Oracle Forms Introduction
Sekhar Byna
 

What's hot (18)

]project-open[ Workflow Developer Tutorial Part 3
]project-open[ Workflow Developer Tutorial Part 3]project-open[ Workflow Developer Tutorial Part 3
]project-open[ Workflow Developer Tutorial Part 3
 
Hidden tables of sap business objects planning and consolidation
Hidden tables of sap business objects planning and consolidationHidden tables of sap business objects planning and consolidation
Hidden tables of sap business objects planning and consolidation
 
Towards Requirements Management Issues in Excel
Towards Requirements Management Issues in ExcelTowards Requirements Management Issues in Excel
Towards Requirements Management Issues in Excel
 
XML Unit 01
XML Unit 01XML Unit 01
XML Unit 01
 
WCF (Windows Communication Foundation_Unit_01)
WCF (Windows Communication Foundation_Unit_01)WCF (Windows Communication Foundation_Unit_01)
WCF (Windows Communication Foundation_Unit_01)
 
Oracle apps online training
Oracle apps online trainingOracle apps online training
Oracle apps online training
 
Oracle forms developer 10g vol1
Oracle forms developer 10g vol1Oracle forms developer 10g vol1
Oracle forms developer 10g vol1
 
Visual basic databases
Visual basic databasesVisual basic databases
Visual basic databases
 
Oracle D2K reports
Oracle D2K reports Oracle D2K reports
Oracle D2K reports
 
Flex 3 - Introduction
Flex 3 - IntroductionFlex 3 - Introduction
Flex 3 - Introduction
 
Application engine
Application engineApplication engine
Application engine
 
Exploring Layouts and Providers
Exploring Layouts and ProvidersExploring Layouts and Providers
Exploring Layouts and Providers
 
Application Architechture
Application ArchitechtureApplication Architechture
Application Architechture
 
Ideas In Wincc Toolset
Ideas In Wincc ToolsetIdeas In Wincc Toolset
Ideas In Wincc Toolset
 
]project-open[ Budget Planning and Tracking
]project-open[ Budget Planning and Tracking]project-open[ Budget Planning and Tracking
]project-open[ Budget Planning and Tracking
 
J2ee connector architecture
J2ee connector architectureJ2ee connector architecture
J2ee connector architecture
 
Client Object Model - SharePoint Extreme 2012
Client Object Model - SharePoint Extreme 2012Client Object Model - SharePoint Extreme 2012
Client Object Model - SharePoint Extreme 2012
 
Oracle Forms Introduction
Oracle Forms IntroductionOracle Forms Introduction
Oracle Forms Introduction
 

Viewers also liked

]project-open[ Screenshots
]project-open[ Screenshots ]project-open[ Screenshots
]project-open[ Screenshots Klaus Hofeditz
 
Po workflow-tutorial-1-overview.100603
Po workflow-tutorial-1-overview.100603Po workflow-tutorial-1-overview.100603
Po workflow-tutorial-1-overview.100603
Klaus Hofeditz
 
]project-open[ Workflow Developer Tutorial Part 4
]project-open[ Workflow Developer Tutorial Part 4]project-open[ Workflow Developer Tutorial Part 4
]project-open[ Workflow Developer Tutorial Part 4
Klaus Hofeditz
 
]project-open[ Workflow Developer Tutorial Part 2
]project-open[ Workflow Developer Tutorial Part 2]project-open[ Workflow Developer Tutorial Part 2
]project-open[ Workflow Developer Tutorial Part 2
Klaus Hofeditz
 
]project-open[ OSS Project Mangement
]project-open[ OSS Project Mangement]project-open[ OSS Project Mangement
]project-open[ OSS Project Mangement
Klaus Hofeditz
 
The ]project-open[ Community
The ]project-open[ CommunityThe ]project-open[ Community
The ]project-open[ CommunityKlaus Hofeditz
 
]project-open[ Data-Model 100511b
]project-open[ Data-Model 100511b]project-open[ Data-Model 100511b
]project-open[ Data-Model 100511b
Klaus Hofeditz
 
Digitization of the audio, video and film collections. Patrick Monette, Media...
Digitization of the audio, video and film collections. Patrick Monette, Media...Digitization of the audio, video and film collections. Patrick Monette, Media...
Digitization of the audio, video and film collections. Patrick Monette, Media...
FIAT/IFTA
 
LibrePlan Audiovisual documentation
LibrePlan Audiovisual documentationLibrePlan Audiovisual documentation
LibrePlan Audiovisual documentation
LibrePlan Open Web Planning
 
How to choose the right graph pie charts
How to choose the right graph   pie chartsHow to choose the right graph   pie charts
How to choose the right graph pie chartsMilena Marin
 
]project-open[ Timesheet Project Invoicing
]project-open[ Timesheet Project Invoicing]project-open[ Timesheet Project Invoicing
]project-open[ Timesheet Project Invoicing
Klaus Hofeditz
 
Libreplan presentation 2012
Libreplan presentation 2012Libreplan presentation 2012
Libreplan presentation 2012
LibrePlan Open Web Planning
 
4 Structure Cabling System Design
4 Structure Cabling System Design4 Structure Cabling System Design
4 Structure Cabling System Design
Mrirfan
 
Geographical Skills
Geographical SkillsGeographical Skills
Geographical Skillsclemaitre
 

Viewers also liked (14)

]project-open[ Screenshots
]project-open[ Screenshots ]project-open[ Screenshots
]project-open[ Screenshots
 
Po workflow-tutorial-1-overview.100603
Po workflow-tutorial-1-overview.100603Po workflow-tutorial-1-overview.100603
Po workflow-tutorial-1-overview.100603
 
]project-open[ Workflow Developer Tutorial Part 4
]project-open[ Workflow Developer Tutorial Part 4]project-open[ Workflow Developer Tutorial Part 4
]project-open[ Workflow Developer Tutorial Part 4
 
]project-open[ Workflow Developer Tutorial Part 2
]project-open[ Workflow Developer Tutorial Part 2]project-open[ Workflow Developer Tutorial Part 2
]project-open[ Workflow Developer Tutorial Part 2
 
]project-open[ OSS Project Mangement
]project-open[ OSS Project Mangement]project-open[ OSS Project Mangement
]project-open[ OSS Project Mangement
 
The ]project-open[ Community
The ]project-open[ CommunityThe ]project-open[ Community
The ]project-open[ Community
 
]project-open[ Data-Model 100511b
]project-open[ Data-Model 100511b]project-open[ Data-Model 100511b
]project-open[ Data-Model 100511b
 
Digitization of the audio, video and film collections. Patrick Monette, Media...
Digitization of the audio, video and film collections. Patrick Monette, Media...Digitization of the audio, video and film collections. Patrick Monette, Media...
Digitization of the audio, video and film collections. Patrick Monette, Media...
 
LibrePlan Audiovisual documentation
LibrePlan Audiovisual documentationLibrePlan Audiovisual documentation
LibrePlan Audiovisual documentation
 
How to choose the right graph pie charts
How to choose the right graph   pie chartsHow to choose the right graph   pie charts
How to choose the right graph pie charts
 
]project-open[ Timesheet Project Invoicing
]project-open[ Timesheet Project Invoicing]project-open[ Timesheet Project Invoicing
]project-open[ Timesheet Project Invoicing
 
Libreplan presentation 2012
Libreplan presentation 2012Libreplan presentation 2012
Libreplan presentation 2012
 
4 Structure Cabling System Design
4 Structure Cabling System Design4 Structure Cabling System Design
4 Structure Cabling System Design
 
Geographical Skills
Geographical SkillsGeographical Skills
Geographical Skills
 

Similar to ]po[ Developers: Reporting, Indicators & Dashboards

]project-open[ Reporting & Indicators Options
]project-open[ Reporting & Indicators Options]project-open[ Reporting & Indicators Options
]project-open[ Reporting & Indicators Options
Klaus Hofeditz
 
Crystal Reports Review
Crystal Reports ReviewCrystal Reports Review
Crystal Reports ReviewJustin R. Rue
 
Sage MAS Intelligence vs. Biz Insights
Sage MAS Intelligence vs. Biz InsightsSage MAS Intelligence vs. Biz Insights
Sage MAS Intelligence vs. Biz Insights
Jeffrey Paulette
 
Prodev Solutions Intro
Prodev Solutions IntroProdev Solutions Intro
Prodev Solutions Intro
larryATprodev
 
Qlikview online training
Qlikview online trainingQlikview online training
Qlikview online training
Glory IT Technologies Pvt. Ltd.
 
BizViz - CA PPM Analytics
BizViz - CA PPM AnalyticsBizViz - CA PPM Analytics
BizViz - CA PPM Analytics
Big Data BizViz LLC
 
Power bi
Power biPower bi
Microsoft Dynamics 365 Business Central
Microsoft Dynamics 365 Business CentralMicrosoft Dynamics 365 Business Central
Microsoft Dynamics 365 Business Central
Roberto Stefanetti
 
SQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginners
SQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginnersSQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginners
SQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginners
Tobias Koprowski
 
Actively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net DeveloperActively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net Developer
Karthik Reddy
 
Actively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net DeveloperActively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net Developer
Karthik Reddy
 
Industrial training project ppt of online shopping
Industrial training project ppt of online  shoppingIndustrial training project ppt of online  shopping
Industrial training project ppt of online shopping
anil kumar
 
IBM Cognos Analytics Reporting vs. Dashboarding: Matching Tools to Business R...
IBM Cognos Analytics Reporting vs. Dashboarding: Matching Tools to Business R...IBM Cognos Analytics Reporting vs. Dashboarding: Matching Tools to Business R...
IBM Cognos Analytics Reporting vs. Dashboarding: Matching Tools to Business R...
Senturus
 
Foundry Management System Desktop Application
Foundry Management System Desktop Application Foundry Management System Desktop Application
Foundry Management System Desktop Application
Dharmendra Sid
 
BI 2008 Simple
BI 2008 SimpleBI 2008 Simple
BI 2008 Simple
llangit
 
Shield UI JavaScript Chart
Shield UI JavaScript ChartShield UI JavaScript Chart
Shield UI JavaScript Chart
JStoikov
 
Professional Portfolio
Professional PortfolioProfessional Portfolio
Professional PortfolioMoniqueO Opris
 
CubeView is a browser based Business Analytical reporting tool OLAP Dashboard
CubeView is a browser based Business Analytical reporting tool OLAP DashboardCubeView is a browser based Business Analytical reporting tool OLAP Dashboard
CubeView is a browser based Business Analytical reporting tool OLAP Dashboard
hitforseo
 
Balamurugan msbi cv
Balamurugan msbi cvBalamurugan msbi cv
Balamurugan msbi cv
bala murugan
 

Similar to ]po[ Developers: Reporting, Indicators & Dashboards (20)

]project-open[ Reporting & Indicators Options
]project-open[ Reporting & Indicators Options]project-open[ Reporting & Indicators Options
]project-open[ Reporting & Indicators Options
 
Crystal Reports Review
Crystal Reports ReviewCrystal Reports Review
Crystal Reports Review
 
Sage MAS Intelligence vs. Biz Insights
Sage MAS Intelligence vs. Biz InsightsSage MAS Intelligence vs. Biz Insights
Sage MAS Intelligence vs. Biz Insights
 
Prodev Solutions Intro
Prodev Solutions IntroProdev Solutions Intro
Prodev Solutions Intro
 
Qlikview online training
Qlikview online trainingQlikview online training
Qlikview online training
 
BizViz - CA PPM Analytics
BizViz - CA PPM AnalyticsBizViz - CA PPM Analytics
BizViz - CA PPM Analytics
 
Power bi
Power biPower bi
Power bi
 
Microsoft Dynamics 365 Business Central
Microsoft Dynamics 365 Business CentralMicrosoft Dynamics 365 Business Central
Microsoft Dynamics 365 Business Central
 
SQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginners
SQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginnersSQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginners
SQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginners
 
Actively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net DeveloperActively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net Developer
 
Actively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net DeveloperActively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net Developer
 
Industrial training project ppt of online shopping
Industrial training project ppt of online  shoppingIndustrial training project ppt of online  shopping
Industrial training project ppt of online shopping
 
IBM Cognos Analytics Reporting vs. Dashboarding: Matching Tools to Business R...
IBM Cognos Analytics Reporting vs. Dashboarding: Matching Tools to Business R...IBM Cognos Analytics Reporting vs. Dashboarding: Matching Tools to Business R...
IBM Cognos Analytics Reporting vs. Dashboarding: Matching Tools to Business R...
 
Foundry Management System Desktop Application
Foundry Management System Desktop Application Foundry Management System Desktop Application
Foundry Management System Desktop Application
 
BI 2008 Simple
BI 2008 SimpleBI 2008 Simple
BI 2008 Simple
 
Shield UI JavaScript Chart
Shield UI JavaScript ChartShield UI JavaScript Chart
Shield UI JavaScript Chart
 
Professional Portfolio
Professional PortfolioProfessional Portfolio
Professional Portfolio
 
CubeView is a browser based Business Analytical reporting tool OLAP Dashboard
CubeView is a browser based Business Analytical reporting tool OLAP DashboardCubeView is a browser based Business Analytical reporting tool OLAP Dashboard
CubeView is a browser based Business Analytical reporting tool OLAP Dashboard
 
Ssrs tutorial
Ssrs tutorialSsrs tutorial
Ssrs tutorial
 
Balamurugan msbi cv
Balamurugan msbi cvBalamurugan msbi cv
Balamurugan msbi cv
 

More from Klaus Hofeditz

Serious Sencha - Using Sencha ExtJS/Touch for Enterprise Applications
Serious Sencha - Using Sencha ExtJS/Touch for Enterprise ApplicationsSerious Sencha - Using Sencha ExtJS/Touch for Enterprise Applications
Serious Sencha - Using Sencha ExtJS/Touch for Enterprise Applications
Klaus Hofeditz
 
]po[ Sencha File-Storage Specs
]po[ Sencha File-Storage Specs]po[ Sencha File-Storage Specs
]po[ Sencha File-Storage Specs
Klaus Hofeditz
 
]project-open[ CVS+ACL Permission Configuration
]project-open[ CVS+ACL Permission Configuration]project-open[ CVS+ACL Permission Configuration
]project-open[ CVS+ACL Permission ConfigurationKlaus Hofeditz
 
]project-open[ Workflow Developer Tutorial Part 1
]project-open[ Workflow Developer Tutorial Part 1]project-open[ Workflow Developer Tutorial Part 1
]project-open[ Workflow Developer Tutorial Part 1
Klaus Hofeditz
 
]project-open[ Package Manager
]project-open[ Package Manager]project-open[ Package Manager
]project-open[ Package Manager
Klaus Hofeditz
 
]project-open[ Roll Out Plan
]project-open[ Roll Out Plan]project-open[ Roll Out Plan
]project-open[ Roll Out Plan
Klaus Hofeditz
 

More from Klaus Hofeditz (6)

Serious Sencha - Using Sencha ExtJS/Touch for Enterprise Applications
Serious Sencha - Using Sencha ExtJS/Touch for Enterprise ApplicationsSerious Sencha - Using Sencha ExtJS/Touch for Enterprise Applications
Serious Sencha - Using Sencha ExtJS/Touch for Enterprise Applications
 
]po[ Sencha File-Storage Specs
]po[ Sencha File-Storage Specs]po[ Sencha File-Storage Specs
]po[ Sencha File-Storage Specs
 
]project-open[ CVS+ACL Permission Configuration
]project-open[ CVS+ACL Permission Configuration]project-open[ CVS+ACL Permission Configuration
]project-open[ CVS+ACL Permission Configuration
 
]project-open[ Workflow Developer Tutorial Part 1
]project-open[ Workflow Developer Tutorial Part 1]project-open[ Workflow Developer Tutorial Part 1
]project-open[ Workflow Developer Tutorial Part 1
 
]project-open[ Package Manager
]project-open[ Package Manager]project-open[ Package Manager
]project-open[ Package Manager
 
]project-open[ Roll Out Plan
]project-open[ Roll Out Plan]project-open[ Roll Out Plan
]project-open[ Roll Out Plan
 

Recently uploaded

GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 

Recently uploaded (20)

GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 

]po[ Developers: Reporting, Indicators & Dashboards

  • 1. ]po[ Developers: Reporting, Indicators & Dashboards Frank Bergmann, 2013-04-06 This tutorial explains various options on how to extract and display information from ]project-open[.
  • 2. 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[ HTML Reporting Engine: The ]po[ reporting engine allows for grouping, aggregation, sub-totals and grand totals.  ]po[ OpenOffice “PowerPoint” Reporting Engine: This reporting engine allows to create OpenOffice Impress (PowerPoint) slides based on templates.  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.  Sencha Charts: You can setup a “cron” script to save report results as a static HTML page at night.  Nightly Evaluation of Long Running Reports: You can setup a “cron” script to save report results as a static HTML page at night.
  • 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[ HTML 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. 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.
  • 11. 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
  • 12. 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
  • 13. 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.
  • 14. 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