16. We want to change the format of the price to show as currency. Select the
[TotalPrice] field with the drop-down arrow.
17. In the Property Editor, select Format Number.
18. Select Currency as the format type, check the Use 1000s separator check box,
and choose the currency Symbol to be $.
Working with Data
[ 112 ]
19. Save, and Preview the report.
Of course, as we are working with Cubes, more complex reports can be developed.
As I mentioned earlier, you can add any number of Dimensions to the Cube and the
Crosstab. In the following screenshot, I have added Country as another Dimension,
and color coded it just for good Measure.
Chapter 5
[ 113 ]
OLAP Cubes is a subject that is complex and outside of the scope of this book.
Summary
We covered a lot of ground in this chapter. We explored how to create all of the
elements while connecting to different Data Sources in reports and Report Projects.
We saw that BIRT supports different types of data, such as XML files, flat text
files, and databases. We saw that for each type of Data Source there are different
types of Dialogs to describe the data and create Data Sets. We saw how to bring in
the different data-bound components. We also explored a few different methods
of inserting visual components into a report layout, and how to change different
properties of components.
Pages:
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117