In Cognos Report Studio, we can define the formatting of data items that we have seen in many recipes. However, sometimes, the formatting defined in the report does not take effect. In this recipe, we will consider one such scenario.
We will use the dimensional GO Sales SSAS Cube package for this.
Open the GOSALESDW cube in the SQL Server BIDS (Business Intelligence Development Studio) and change the data format of the Stmt Month measure as shown in the following screenshot:
Process the cube. Create a new crosstab report in Cognos Report Studio against the GO Sales SSAS Cube package.
As you saw in this recipe, from a glance it looks like the database formatting is taking precedence over the one defined in report studio. However, actually the formatting defined in the backend is a pattern. In order to correctly over-ride it, we need to define pattern in the report studio. Just over-riding the decimal points won't work.