The articles in this section of the Knowledge Base involve Text Formatting for display in your reports. To learn more about Text Formatting and how to access this section within the Report Designer, see Understanding Text Formatting in the Report Designer. This article focuses on the Percentage Format tab of the Text Formatting window.
The data in a report can be output as a percentage. The example report below features cells with relative values. In this report, there are products (Standard Format), their price (Currency Format), and the profitability index (Number Format).
|
Product |
UnitPrice |
Profitability Index |
|
1 Door Base |
$ 18.00 |
0.01 |
|
2 Door Base |
$ 25.00 |
0.02 |
|
1 Door Upper |
$ 10.00 |
0.00 |
Now let’s add a column for profitability. Add the text component on the right with reference to the Products.ProfitabilityIndex column and apply the Percentage Format to this text component.
|
Product |
UnitPrice |
Profitability Index |
Profitability |
|
1 Door Base |
$ 18.00 |
0.01 |
0.84 % |
|
2 Door Base |
$ 25.00 |
0.02 |
1.58 % |
|
1 Door Upper |
$ 10.00 |
0.00 |
0.00 % |
There are disadvantages to both of these methods of determining the mask, but there is a third option. The local settings can be used to change any parameter format. Set the value of the parameter after you’ve set the flag next to it.