Professional Documents
Culture Documents
Day 2 Sap BI 4.1crystal Report For Enterprise
Day 2 Sap BI 4.1crystal Report For Enterprise
of Report Design
BOCE10/ BOCE10
Index
1. Planning a Report 30 Minutes
2. Creating a Report 90 Minutes
3. Selecting Records 60 Minutes
4. Organizing data on Report 90 Minutes
5. Formatting a Report 90 Minutes
6. Applying Section Formatting 60 Minutes
7. Creating Basic Formulas 180 Minutes
8. Applying Conditional Reporting 45 Minutes
9. Representing Data Visually 45 Minutes
10.Distributing a Report 30 Minutes
Content : Day-2
a) Applying Section Formatting Theory & Practical 60 Min
Formatting Sections
Creating a Summary Report
Formatting Sections
Section Formatting :
Formatting Sections
Common Tab
Hide (Drill-Down OK)
Suppress (No Drill-Down)
Suppress Blank Section
Print at Bottom of Page
Keep Together
Underlay Following Sections
Format with Multiple Columns
Clamp Page Footer
Reserve Minimum Page Footer
Read-only
Relative Positions
Formatting Sections
Paging tab
New Page Before
Reset Page Number After
New Page After
Orientation
Color tab
Background Color
Conditional Formula
Creating a Summary Report
Summary reports is a relatively easy way to ensure that users
quickly find the data they need over the Web. A summary
report can include as much data as any other report.
However, by hiding a summary report's Details section, you
avoid overwhelming users with data they may not
immediately need.
Lesson: 7
Creating Basic Formulas
Agenda
•Defining formulas
•Creating formulas
•Applying Boolean formulas
•Applying If-Then-Else formulas
•Applying date calculations
•Applying number calculations
•Applying string manipulation
Defining formulas
A formula is used to manipulate data in your report. For example, it can perform a
calculation or change the way a field looks. You can think of a formula as a small piece
of computer programming code that processes and prints its result on your report, just
like a database field. It will print the result wherever you place the formula field.
You can write formulas that are as simple or complex as you need them to be.
Understanding the formula language will help you develop powerful and flexible
formulas.
Formula Workshop/
Formula Editor
Creating Formulas
Select the various functions, operators, group field
values, and other formulas from the available lists. By
double-clicking the item, Crystal Reports inserts it into the
formula for you. In the Formula Editor, you can customize
your settings with dockable and resizable frame windows,
bookmarks, drag and drop, and search and replace.
Applying Boolean formulas
Boolean formulas incorporate the operators AND, OR and NOT and
are used when you want to signal a condition of “true” or “false”.
• A and B means that both A and B must be true for the condition to be
satisfied (to return a TRUE value).
• A or B means that either A or B (or both) must be true for the condition to
be satisfied (to return a TRUE value).
• And
• Or
• Not
Applying Date Calculations
• Date Functions allow you to convert numbers to dates, which
you can then format to display as appropriate, and to convert
dates to numbers.
Year, month and day functions: At times you may need to extract
the year, month or day portions from a date field. To accomplish
this task you would use the Year(), Month() or Day() function.
Applying Number Calculations
• Number Calculations can include
• Addition
• Subtraction
• Count
• Distinct Count
Applying String Manipulation
String manipulation formulas include:
Subscript
Concatenation
Uppercase and Lowercase
Left
Mid
Right
Lesson: 8
Representing Data Visually
Agenda
Creating a Chart
Chart Expert
Creating a Chart
Crystal Reports enables you to include sophisticated, colorful charts in
your reports. You can use charts any time you want to improve the
usefulness of a report.
For example, if you have a sales report grouped by Region with a subtotal
of Last Year's Sales for each region, you can quickly create a chart that will
display Sales per Region.
You can chart on the following:
Summary and subtotal fields.
Detail, formula, and Running Total fields.
Cross-Tab summaries.
OLAP data.
You will typically chart on summary and subtotal information at the group
level. However, depending on the type of data you are working with, you
can create an Advanced, Cross-Tab, or OLAP grid chart for your report.
Chart Expert
Chart Expert
The tabs in the Chart Expert are:
• Type
• Data
• Axes
• Options
• Color highlight
• Text
Lesson: 9
Applying Conditional Reporting
Agenda
Determining trends in data
Formatting data conditionally
Determining Trends in Data
The trend are the summery information which explain the
business day to day activities.
For Example;
Sales by region
Sales by country
Sales by state
Customer by country
Formatting Data Conditionally
Conditional formatting is formatting that applies only under certain
conditions.
For example, in a report you may only want:
Customer balances printed in red if they are past due.
The dates to appear in Day, Month, Year format if the customer is Canadian.
Background color to appear on every other line.
Conditional on or off properties
A conditional on or off property tests to see if a condition has been met. It is
on if the condition is met, off if the condition is not met. There is no middle
ground. Use Boolean formulas for this kind of formatting.
//Conditional formatting example 1
If {Customer.Last Year's Sales} > 100000 Then crGreen
Else If {Customer.Last Year's Sales} < 15000 Then crRed
Else crBlack
Lesson: 10
Distributing a Report
Agenda
Exporting a report
Saving a report to Business Objects Enterprise
Exporting a report
Finished reports can be exported to a number of
popular formats, such as spreadsheet, word
processor, HTML, and common data
interchange formats.
PDF
Crystal Reports (RPT)
HTML 3.2 and HTML 4.0
MHTML
Microsoft Excel (97-2003)
Microsoft Excel (97-2003) Data-only
Rich Text Format (RTF)
Separated Values (CSV)
Saving a report to Business Objects Enterprise
You can save Crystal reports to Business Objects Enterprise folders. Use the Save
As dialog box to save a modified report back to its original location, or use it to
save a new report to an Enterprise folder. Saving a report to an Enterprise folder
is the same as publishing the report to Business Objects Enterprise.