COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Cognos10x on 28 Jul 2015 06:15:11 PM

Title: Numeric formatting for string data types.
Post by: Cognos10x on 28 Jul 2015 06:15:11 PM

Hi Experts,

I have a report field that I am using it for custom labeling in the charts. This custom labeling is for the tooltips and I have like half a dozen of tooltips for each chart object. Some of the data items are of $amounts or numeric with thousand separator. But since I converted them to varchar to put them in custom label, all the data items looses its formatting.
I can add Cognos function to this but it would be very messy in the end for all the data items.
How can I have the formatting back with data type still keeping as string/varchar.