SlideShare uma empresa Scribd logo
1 de 7
Baixar para ler offline
BIRT Cross tabs - Advanced 
Introduction 
A cross tab displays the relation between two or more variables in a matrix format. A cross tab report item is based on a multi dimensional data cube, which is a collection of dimensions (groups) and measures. A BIRT data cube is based on one or more BIRT datasets 
The goal of this document is to walk you through several scenarios and describe the high level steps required to create the sample report designs. 
Following features are covered 
• 
Cross tab with time series 
• 
Cross tab with image indicator for measures 
• 
Cross tab with static rows/columns 
• 
Filters in cross tab 
• 
Sorting in cross tab 
• 
Grand totals and sub totals for rows/columns in a cross tab 
• 
Cubes based on multiple datasets 
• 
Sharing cubes using library
Business Scenario 
For a fictitious company called Classic Models Inc you are asked to create the following reports – 
Scenario A – Cross tab with time dimension 
Report that displays sales of all products in different years categorized by year, quarter and month of sale 
• 
In the row area, sort by year field in descending order. 
• 
In the column area, sort product Line by column grand total in descending order 
• 
Show only the product Line for which the sales > 10,000 in Jan 2005 
Below is the desired report output (productSalesByYear.rptdesign)
Create a shared Data Cube in report design library 
Create a data cube with the following structure 
Dimension ( Group Hierarchy ) 
Group Level 
Description 
customerRegion 
Country-> State -> City- >CustomerNum 
Geographical hierarchy 
orderDate 
Year -> Quarter -> Month 
Time period when the orders were made 
product 
ProductLine -> ProductName 
Product hierarchy 
Measure 
Description 
ordertotal 
Order Total 
quantityordered 
Quantity ordered 
1) 
Create a new library design file 
2) 
Create a new data source based on ‘classic Model Sample Database’ 
3) 
Create the following data sets dsProducts, dsOrders and dsCustomers 
4) 
Create a new data cube using the cube builder; define ‘dsOrders’ as the primary dataset and following cube structure. Use the ‘Link Groups’ section to define the join relationships between the datasets
5) Publish the library to the resource folder, by clicking on Select “File” -> “Place Library in Resource folder” 
Define the Cross tab Item 
1) 
Create a new report design file “productSalesByYear.rptdesign” 
2) 
Select the Library Explorer view, and drag and drop the cube ‘Customer Cube’ from the Library Explorer view to the report design outline view 
3) 
Create a cross tab report item by dragging and dropping the cross tab item to the layout editor 
4) 
Expand the ‘Customer add ‘product’ group hierarchy to the cross tab column area, ‘orderDate’ group hierarchy to the row area and ‘OrderTotal’ to the detail area. Use the ‘Show/Hide Group levels’ dialog to show all the required levels. 
5) 
Define the sort criteria to show group level ‘Year’ in descending order. The sort criteria can be defined using the cross tab property editor. 
6) 
Define the sort criteria on ‘product line’ level, to sort grand total in descending order 
7) 
Define the filter criteria to show only those ‘product line’ which have ‘order total’ > 100,000 in year =2005. The filter condition can be defined using the filter tab in the cross tab property editor.
Scenario B – Cross tab with image to show the measure value 
Report that displays image1 if the sales > 100000 or show Image2 if the sales <= 100000 for all products in different years 
Below is the desired report output (productSalesByYearImageIndicator.rptdesign) 
Steps 
The data cube “Customer Cube” defined in Scenario A is used here too. 
1) 
Drag and drop the cross tab report item from palette to the layout editor 
2) 
Expand the “Customer Cube” data cube and drag and drop the following 
• 
OrderDate group hierarchy to the row area, 
• 
Product group hierarchy to the column area 
• 
OrderTotal measure to the Summary fields area 
Also use the “Show/Hide levels” dialog to show the required group levels 
3) 
Drag and drop an image item from palette to the summary area in layout view 
• 
Select the URI option 
• 
Specify the following expression 
if ( data["ORDERTOTAL"] > 100000 ) 
"move_up.gif" 
else 
"move_down.gif"
4) Use the ‘Total’ dialog to show row and column grand total
Scenario C – Static Cross tab 
Report that displays fixed number of columns (static). The customers are categorized by credit ranking and the number of customer for different countries is shown. 
Below is the desired report output ( StaticCustomerCreditRanking.rptdesign ) 
Steps 
1) 
Create a new BIRT report design 
2) 
Create a new dataset ‘dsCustomers’ 
3) 
Define a new data cube with ‘dsCustomers’ as the primary dataset and following dimensions 
a. 
cusomterRegion = Country ->State->City 
b. 
customerCreditRanking= creditLimt, 
i. 
The creditLimit is defined as static level with following four fixed categories A( No risk), B( Average) C( High Risk), N ( New) 
4) 
Create a cross tab report item by dragging and dropping the cross tab item to the layout editor 
5) 
Add “customerRegion” group hiearchy to the row area, “customerCreditRanking” hierarchy to the column area and ‘CustomerNumber’ measure to the detail area 
6) 
Preview the report design

Mais conteúdo relacionado

Mais procurados

Dell Data Center Networking Overview
Dell Data Center Networking OverviewDell Data Center Networking Overview
Dell Data Center Networking OverviewDell World
 
Unit 5 -MOVING APPLICATION TO CLOUD
Unit 5 -MOVING APPLICATION TO CLOUDUnit 5 -MOVING APPLICATION TO CLOUD
Unit 5 -MOVING APPLICATION TO CLOUDMonishaNehkal
 
Presentation cloud management
Presentation   cloud managementPresentation   cloud management
Presentation cloud managementxKinAnx
 
Best Practices for Data Center Migration Planning - August 2016 Monthly Webin...
Best Practices for Data Center Migration Planning - August 2016 Monthly Webin...Best Practices for Data Center Migration Planning - August 2016 Monthly Webin...
Best Practices for Data Center Migration Planning - August 2016 Monthly Webin...Amazon Web Services
 
Government cloud computing_strategy
Government cloud computing_strategyGovernment cloud computing_strategy
Government cloud computing_strategyGovCloud Network
 
Text analytics in social media
Text analytics in social mediaText analytics in social media
Text analytics in social mediaJeremiah Fadugba
 
Transforming Governments in the Cloud
Transforming Governments in the CloudTransforming Governments in the Cloud
Transforming Governments in the CloudAmazon Web Services
 
Evolution of Cloud Computing
Evolution of Cloud ComputingEvolution of Cloud Computing
Evolution of Cloud ComputingNephoScale
 
Creating an Operating Model to enable a high frequency organization
Creating an Operating Model to enable a high frequency organizationCreating an Operating Model to enable a high frequency organization
Creating an Operating Model to enable a high frequency organizationTom Laszewski
 
Cloud Computing Architecture
Cloud Computing Architecture Cloud Computing Architecture
Cloud Computing Architecture Vasu Jain
 
ANZ Cloud Migration Insights Forum
ANZ Cloud Migration Insights Forum ANZ Cloud Migration Insights Forum
ANZ Cloud Migration Insights Forum Amazon Web Services
 
ERP and related technology
ERP and related technology ERP and related technology
ERP and related technology Usman Tariq
 
AWS Cloud Cost Optimization
AWS Cloud Cost OptimizationAWS Cloud Cost Optimization
AWS Cloud Cost OptimizationYogesh Sharma
 
Amazon Elastic Compute Cloud (EC2) - Module 2 Part 1 - AWSome Day 2017
Amazon Elastic Compute Cloud (EC2) - Module 2 Part 1 - AWSome Day 2017Amazon Elastic Compute Cloud (EC2) - Module 2 Part 1 - AWSome Day 2017
Amazon Elastic Compute Cloud (EC2) - Module 2 Part 1 - AWSome Day 2017Amazon Web Services
 
Decision support systems & knowledge management systems
Decision support systems & knowledge management systemsDecision support systems & knowledge management systems
Decision support systems & knowledge management systemsOnline
 
AWS Fundamentals @Back2School by CloudZone
AWS Fundamentals @Back2School by CloudZoneAWS Fundamentals @Back2School by CloudZone
AWS Fundamentals @Back2School by CloudZoneIdan Tohami
 
Network Security and Access Control within AWS
Network Security and Access Control within AWSNetwork Security and Access Control within AWS
Network Security and Access Control within AWSAmazon Web Services
 
Eucalyptus cloud computing
Eucalyptus cloud computingEucalyptus cloud computing
Eucalyptus cloud computingRahul Rana
 

Mais procurados (20)

Dell Data Center Networking Overview
Dell Data Center Networking OverviewDell Data Center Networking Overview
Dell Data Center Networking Overview
 
Unit 5 -MOVING APPLICATION TO CLOUD
Unit 5 -MOVING APPLICATION TO CLOUDUnit 5 -MOVING APPLICATION TO CLOUD
Unit 5 -MOVING APPLICATION TO CLOUD
 
Presentation cloud management
Presentation   cloud managementPresentation   cloud management
Presentation cloud management
 
Apriori
AprioriApriori
Apriori
 
Best Practices for Data Center Migration Planning - August 2016 Monthly Webin...
Best Practices for Data Center Migration Planning - August 2016 Monthly Webin...Best Practices for Data Center Migration Planning - August 2016 Monthly Webin...
Best Practices for Data Center Migration Planning - August 2016 Monthly Webin...
 
Government cloud computing_strategy
Government cloud computing_strategyGovernment cloud computing_strategy
Government cloud computing_strategy
 
Text analytics in social media
Text analytics in social mediaText analytics in social media
Text analytics in social media
 
Transforming Governments in the Cloud
Transforming Governments in the CloudTransforming Governments in the Cloud
Transforming Governments in the Cloud
 
Evolution of Cloud Computing
Evolution of Cloud ComputingEvolution of Cloud Computing
Evolution of Cloud Computing
 
Creating an Operating Model to enable a high frequency organization
Creating an Operating Model to enable a high frequency organizationCreating an Operating Model to enable a high frequency organization
Creating an Operating Model to enable a high frequency organization
 
Cloud Computing Architecture
Cloud Computing Architecture Cloud Computing Architecture
Cloud Computing Architecture
 
ANZ Cloud Migration Insights Forum
ANZ Cloud Migration Insights Forum ANZ Cloud Migration Insights Forum
ANZ Cloud Migration Insights Forum
 
ERP and related technology
ERP and related technology ERP and related technology
ERP and related technology
 
AWS Cloud Cost Optimization
AWS Cloud Cost OptimizationAWS Cloud Cost Optimization
AWS Cloud Cost Optimization
 
Amazon Elastic Compute Cloud (EC2) - Module 2 Part 1 - AWSome Day 2017
Amazon Elastic Compute Cloud (EC2) - Module 2 Part 1 - AWSome Day 2017Amazon Elastic Compute Cloud (EC2) - Module 2 Part 1 - AWSome Day 2017
Amazon Elastic Compute Cloud (EC2) - Module 2 Part 1 - AWSome Day 2017
 
Decision support systems & knowledge management systems
Decision support systems & knowledge management systemsDecision support systems & knowledge management systems
Decision support systems & knowledge management systems
 
AWS Fundamentals @Back2School by CloudZone
AWS Fundamentals @Back2School by CloudZoneAWS Fundamentals @Back2School by CloudZone
AWS Fundamentals @Back2School by CloudZone
 
Network Security and Access Control within AWS
Network Security and Access Control within AWSNetwork Security and Access Control within AWS
Network Security and Access Control within AWS
 
Deep dive - AWS Fargate
Deep dive - AWS FargateDeep dive - AWS Fargate
Deep dive - AWS Fargate
 
Eucalyptus cloud computing
Eucalyptus cloud computingEucalyptus cloud computing
Eucalyptus cloud computing
 

Semelhante a Birt crosstabtutorialadvanced

Geo prompt dashboard
Geo prompt dashboardGeo prompt dashboard
Geo prompt dashboardAmit Sharma
 
Excel Pivot Tables and Graphing for Auditors
Excel Pivot Tables and Graphing for AuditorsExcel Pivot Tables and Graphing for Auditors
Excel Pivot Tables and Graphing for AuditorsJim Kaplan CIA CFE
 
Mr20 enus 08-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 08-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 08-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 08-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Sami JAMMALI
 
Financial reporting rpd using obiee
Financial reporting rpd using obieeFinancial reporting rpd using obiee
Financial reporting rpd using obieeAmit Sharma
 
Financial reporting rpd using obiee
Financial reporting rpd using obieeFinancial reporting rpd using obiee
Financial reporting rpd using obieeAmit Sharma
 
Financial reporting rpd using obiee
Financial reporting rpd using obieeFinancial reporting rpd using obiee
Financial reporting rpd using obieeAmit Sharma
 
Parameters in Tableau
Parameters in TableauParameters in Tableau
Parameters in TableauKanika Nagpal
 
Part 1 - Microsoft Access 2019Use Access to create a database to.docx
Part 1 - Microsoft Access 2019Use Access to create a database to.docxPart 1 - Microsoft Access 2019Use Access to create a database to.docx
Part 1 - Microsoft Access 2019Use Access to create a database to.docxhoney690131
 
CIS 310 ACCESS AssignmentObjective of this assignment is to pr.docx
CIS 310 ACCESS AssignmentObjective of this assignment is to pr.docxCIS 310 ACCESS AssignmentObjective of this assignment is to pr.docx
CIS 310 ACCESS AssignmentObjective of this assignment is to pr.docxclarebernice
 
Counting -cycle_count_using_mobile_application
Counting  -cycle_count_using_mobile_applicationCounting  -cycle_count_using_mobile_application
Counting -cycle_count_using_mobile_applicationmanitenkasi
 
Visualizing Data using Tableau
Visualizing Data using TableauVisualizing Data using Tableau
Visualizing Data using TableauKanika Nagpal
 
Obiee11g building-brand-analysis-dashboard
Obiee11g building-brand-analysis-dashboardObiee11g building-brand-analysis-dashboard
Obiee11g building-brand-analysis-dashboardAmit Sharma
 
Obiee11g building-brand-analysis-dashboard
Obiee11g building-brand-analysis-dashboardObiee11g building-brand-analysis-dashboard
Obiee11g building-brand-analysis-dashboardAmit Sharma
 
Obiee11g building-brand-analysis-dashboard
Obiee11g building-brand-analysis-dashboardObiee11g building-brand-analysis-dashboard
Obiee11g building-brand-analysis-dashboardAmit Sharma
 
Preparing for BIT – IT2301 Database Management Systems 2001g
Preparing for BIT – IT2301 Database Management Systems 2001gPreparing for BIT – IT2301 Database Management Systems 2001g
Preparing for BIT – IT2301 Database Management Systems 2001gGihan Wikramanayake
 

Semelhante a Birt crosstabtutorialadvanced (20)

Geo prompt dashboard
Geo prompt dashboardGeo prompt dashboard
Geo prompt dashboard
 
Excel Pivot Tables and Graphing for Auditors
Excel Pivot Tables and Graphing for AuditorsExcel Pivot Tables and Graphing for Auditors
Excel Pivot Tables and Graphing for Auditors
 
Database (IP)
Database (IP)Database (IP)
Database (IP)
 
Mr20 enus 08-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 08-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 08-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 08-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
 
Financial reporting rpd using obiee
Financial reporting rpd using obieeFinancial reporting rpd using obiee
Financial reporting rpd using obiee
 
Financial reporting rpd using obiee
Financial reporting rpd using obieeFinancial reporting rpd using obiee
Financial reporting rpd using obiee
 
Financial reporting rpd using obiee
Financial reporting rpd using obieeFinancial reporting rpd using obiee
Financial reporting rpd using obiee
 
Parameters in Tableau
Parameters in TableauParameters in Tableau
Parameters in Tableau
 
Part 1 - Microsoft Access 2019Use Access to create a database to.docx
Part 1 - Microsoft Access 2019Use Access to create a database to.docxPart 1 - Microsoft Access 2019Use Access to create a database to.docx
Part 1 - Microsoft Access 2019Use Access to create a database to.docx
 
CIS 310 ACCESS AssignmentObjective of this assignment is to pr.docx
CIS 310 ACCESS AssignmentObjective of this assignment is to pr.docxCIS 310 ACCESS AssignmentObjective of this assignment is to pr.docx
CIS 310 ACCESS AssignmentObjective of this assignment is to pr.docx
 
Visual binning
Visual binningVisual binning
Visual binning
 
It ready dw_day4_rev00
It ready dw_day4_rev00It ready dw_day4_rev00
It ready dw_day4_rev00
 
Bar chart Creation
Bar chart CreationBar chart Creation
Bar chart Creation
 
Counting -cycle_count_using_mobile_application
Counting  -cycle_count_using_mobile_applicationCounting  -cycle_count_using_mobile_application
Counting -cycle_count_using_mobile_application
 
Visualizing Data using Tableau
Visualizing Data using TableauVisualizing Data using Tableau
Visualizing Data using Tableau
 
Obiee11g building-brand-analysis-dashboard
Obiee11g building-brand-analysis-dashboardObiee11g building-brand-analysis-dashboard
Obiee11g building-brand-analysis-dashboard
 
Obiee11g building-brand-analysis-dashboard
Obiee11g building-brand-analysis-dashboardObiee11g building-brand-analysis-dashboard
Obiee11g building-brand-analysis-dashboard
 
Obiee11g building-brand-analysis-dashboard
Obiee11g building-brand-analysis-dashboardObiee11g building-brand-analysis-dashboard
Obiee11g building-brand-analysis-dashboard
 
Tableau 6.pptx
Tableau 6.pptxTableau 6.pptx
Tableau 6.pptx
 
Preparing for BIT – IT2301 Database Management Systems 2001g
Preparing for BIT – IT2301 Database Management Systems 2001gPreparing for BIT – IT2301 Database Management Systems 2001g
Preparing for BIT – IT2301 Database Management Systems 2001g
 

Último

Passbook project document_april_21__.pdf
Passbook project document_april_21__.pdfPassbook project document_april_21__.pdf
Passbook project document_april_21__.pdfvaibhavkanaujia
 
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一diploma 1
 
MT. Marseille an Archipelago. Strategies for Integrating Residential Communit...
MT. Marseille an Archipelago. Strategies for Integrating Residential Communit...MT. Marseille an Archipelago. Strategies for Integrating Residential Communit...
MT. Marseille an Archipelago. Strategies for Integrating Residential Communit...katerynaivanenko1
 
Design principles on typography in design
Design principles on typography in designDesign principles on typography in design
Design principles on typography in designnooreen17
 
3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdfSwaraliBorhade
 
Pharmaceutical Packaging for the elderly.pdf
Pharmaceutical Packaging for the elderly.pdfPharmaceutical Packaging for the elderly.pdf
Pharmaceutical Packaging for the elderly.pdfAayushChavan5
 
FiveHypotheses_UIDMasterclass_18April2024.pdf
FiveHypotheses_UIDMasterclass_18April2024.pdfFiveHypotheses_UIDMasterclass_18April2024.pdf
FiveHypotheses_UIDMasterclass_18April2024.pdfShivakumar Viswanathan
 
Dubai Calls Girl Tapes O525547819 Real Tapes Escort Services Dubai
Dubai Calls Girl Tapes O525547819 Real Tapes Escort Services DubaiDubai Calls Girl Tapes O525547819 Real Tapes Escort Services Dubai
Dubai Calls Girl Tapes O525547819 Real Tapes Escort Services Dubaikojalkojal131
 
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一F dds
 
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书zdzoqco
 
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degreeyuu sss
 
Call Girls Aslali 7397865700 Ridhima Hire Me Full Night
Call Girls Aslali 7397865700 Ridhima Hire Me Full NightCall Girls Aslali 7397865700 Ridhima Hire Me Full Night
Call Girls Aslali 7397865700 Ridhima Hire Me Full Nightssuser7cb4ff
 
西北大学毕业证学位证成绩单-怎么样办伪造
西北大学毕业证学位证成绩单-怎么样办伪造西北大学毕业证学位证成绩单-怎么样办伪造
西北大学毕业证学位证成绩单-怎么样办伪造kbdhl05e
 
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts ServiceCall Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Servicejennyeacort
 
shot list for my tv series two steps back
shot list for my tv series two steps backshot list for my tv series two steps back
shot list for my tv series two steps back17lcow074
 
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degreeyuu sss
 
Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Rndexperts
 
韩国SKKU学位证,成均馆大学毕业证书1:1制作
韩国SKKU学位证,成均馆大学毕业证书1:1制作韩国SKKU学位证,成均馆大学毕业证书1:1制作
韩国SKKU学位证,成均馆大学毕业证书1:1制作7tz4rjpd
 
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024CristobalHeraud
 
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCRdollysharma2066
 

Último (20)

Passbook project document_april_21__.pdf
Passbook project document_april_21__.pdfPassbook project document_april_21__.pdf
Passbook project document_april_21__.pdf
 
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一
 
MT. Marseille an Archipelago. Strategies for Integrating Residential Communit...
MT. Marseille an Archipelago. Strategies for Integrating Residential Communit...MT. Marseille an Archipelago. Strategies for Integrating Residential Communit...
MT. Marseille an Archipelago. Strategies for Integrating Residential Communit...
 
Design principles on typography in design
Design principles on typography in designDesign principles on typography in design
Design principles on typography in design
 
3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf
 
Pharmaceutical Packaging for the elderly.pdf
Pharmaceutical Packaging for the elderly.pdfPharmaceutical Packaging for the elderly.pdf
Pharmaceutical Packaging for the elderly.pdf
 
FiveHypotheses_UIDMasterclass_18April2024.pdf
FiveHypotheses_UIDMasterclass_18April2024.pdfFiveHypotheses_UIDMasterclass_18April2024.pdf
FiveHypotheses_UIDMasterclass_18April2024.pdf
 
Dubai Calls Girl Tapes O525547819 Real Tapes Escort Services Dubai
Dubai Calls Girl Tapes O525547819 Real Tapes Escort Services DubaiDubai Calls Girl Tapes O525547819 Real Tapes Escort Services Dubai
Dubai Calls Girl Tapes O525547819 Real Tapes Escort Services Dubai
 
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
 
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
 
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
Call Girls Aslali 7397865700 Ridhima Hire Me Full Night
Call Girls Aslali 7397865700 Ridhima Hire Me Full NightCall Girls Aslali 7397865700 Ridhima Hire Me Full Night
Call Girls Aslali 7397865700 Ridhima Hire Me Full Night
 
西北大学毕业证学位证成绩单-怎么样办伪造
西北大学毕业证学位证成绩单-怎么样办伪造西北大学毕业证学位证成绩单-怎么样办伪造
西北大学毕业证学位证成绩单-怎么样办伪造
 
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts ServiceCall Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
 
shot list for my tv series two steps back
shot list for my tv series two steps backshot list for my tv series two steps back
shot list for my tv series two steps back
 
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025
 
韩国SKKU学位证,成均馆大学毕业证书1:1制作
韩国SKKU学位证,成均馆大学毕业证书1:1制作韩国SKKU学位证,成均馆大学毕业证书1:1制作
韩国SKKU学位证,成均馆大学毕业证书1:1制作
 
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
 
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
 

Birt crosstabtutorialadvanced

  • 1. BIRT Cross tabs - Advanced Introduction A cross tab displays the relation between two or more variables in a matrix format. A cross tab report item is based on a multi dimensional data cube, which is a collection of dimensions (groups) and measures. A BIRT data cube is based on one or more BIRT datasets The goal of this document is to walk you through several scenarios and describe the high level steps required to create the sample report designs. Following features are covered • Cross tab with time series • Cross tab with image indicator for measures • Cross tab with static rows/columns • Filters in cross tab • Sorting in cross tab • Grand totals and sub totals for rows/columns in a cross tab • Cubes based on multiple datasets • Sharing cubes using library
  • 2. Business Scenario For a fictitious company called Classic Models Inc you are asked to create the following reports – Scenario A – Cross tab with time dimension Report that displays sales of all products in different years categorized by year, quarter and month of sale • In the row area, sort by year field in descending order. • In the column area, sort product Line by column grand total in descending order • Show only the product Line for which the sales > 10,000 in Jan 2005 Below is the desired report output (productSalesByYear.rptdesign)
  • 3. Create a shared Data Cube in report design library Create a data cube with the following structure Dimension ( Group Hierarchy ) Group Level Description customerRegion Country-> State -> City- >CustomerNum Geographical hierarchy orderDate Year -> Quarter -> Month Time period when the orders were made product ProductLine -> ProductName Product hierarchy Measure Description ordertotal Order Total quantityordered Quantity ordered 1) Create a new library design file 2) Create a new data source based on ‘classic Model Sample Database’ 3) Create the following data sets dsProducts, dsOrders and dsCustomers 4) Create a new data cube using the cube builder; define ‘dsOrders’ as the primary dataset and following cube structure. Use the ‘Link Groups’ section to define the join relationships between the datasets
  • 4. 5) Publish the library to the resource folder, by clicking on Select “File” -> “Place Library in Resource folder” Define the Cross tab Item 1) Create a new report design file “productSalesByYear.rptdesign” 2) Select the Library Explorer view, and drag and drop the cube ‘Customer Cube’ from the Library Explorer view to the report design outline view 3) Create a cross tab report item by dragging and dropping the cross tab item to the layout editor 4) Expand the ‘Customer add ‘product’ group hierarchy to the cross tab column area, ‘orderDate’ group hierarchy to the row area and ‘OrderTotal’ to the detail area. Use the ‘Show/Hide Group levels’ dialog to show all the required levels. 5) Define the sort criteria to show group level ‘Year’ in descending order. The sort criteria can be defined using the cross tab property editor. 6) Define the sort criteria on ‘product line’ level, to sort grand total in descending order 7) Define the filter criteria to show only those ‘product line’ which have ‘order total’ > 100,000 in year =2005. The filter condition can be defined using the filter tab in the cross tab property editor.
  • 5. Scenario B – Cross tab with image to show the measure value Report that displays image1 if the sales > 100000 or show Image2 if the sales <= 100000 for all products in different years Below is the desired report output (productSalesByYearImageIndicator.rptdesign) Steps The data cube “Customer Cube” defined in Scenario A is used here too. 1) Drag and drop the cross tab report item from palette to the layout editor 2) Expand the “Customer Cube” data cube and drag and drop the following • OrderDate group hierarchy to the row area, • Product group hierarchy to the column area • OrderTotal measure to the Summary fields area Also use the “Show/Hide levels” dialog to show the required group levels 3) Drag and drop an image item from palette to the summary area in layout view • Select the URI option • Specify the following expression if ( data["ORDERTOTAL"] > 100000 ) "move_up.gif" else "move_down.gif"
  • 6. 4) Use the ‘Total’ dialog to show row and column grand total
  • 7. Scenario C – Static Cross tab Report that displays fixed number of columns (static). The customers are categorized by credit ranking and the number of customer for different countries is shown. Below is the desired report output ( StaticCustomerCreditRanking.rptdesign ) Steps 1) Create a new BIRT report design 2) Create a new dataset ‘dsCustomers’ 3) Define a new data cube with ‘dsCustomers’ as the primary dataset and following dimensions a. cusomterRegion = Country ->State->City b. customerCreditRanking= creditLimt, i. The creditLimit is defined as static level with following four fixed categories A( No risk), B( Average) C( High Risk), N ( New) 4) Create a cross tab report item by dragging and dropping the cross tab item to the layout editor 5) Add “customerRegion” group hiearchy to the row area, “customerCreditRanking” hierarchy to the column area and ‘CustomerNumber’ measure to the detail area 6) Preview the report design