We had this requirement to display currency symbol along with the numbers. Negative numbers were required to be displayed in brackets(no sign). It is pretty easy but sometimes it is the easy stuff that kills most of our time.
Here are the steps:
1. Double click on the field to open up BI publisher properties.
2. In the formatting section make sure that the type is number
3. Enter $#,##0.00;($#,##0.00) for the format
PS Query converts date to character in 'YYYY-MM-DD' format. We needed to display in MM/DD/YYYY format. This can be done by modifying the query but I found it easier to make a slight change in the template.
Here is the trick : xdoxslt:ora_format_date(FIELDNAME,'mm/dd/yyyy')
Formatting Number as Money: ?format-currency:AMOUNT_1;’USD’;'true'?
Page Break: ?split-by-page-break:?
Here are the steps:
1. Double click on the field to open up BI publisher properties.
2. In the formatting section make sure that the type is number
3. Enter $#,##0.00;($#,##0.00) for the format
PS Query converts date to character in 'YYYY-MM-DD' format. We needed to display in MM/DD/YYYY format. This can be done by modifying the query but I found it easier to make a slight change in the template.
Here is the trick : xdoxslt:ora_format_date(FIELDNAME,'mm/dd/yyyy')
Formatting Number as Money: ?format-currency:AMOUNT_1;’USD’;'true'?
Page Break: ?split-by-page-break:?