If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Query Subject Calculation

Started by bpothier, 09 Jun 2014 12:09:22 PM

Previous topic - Next topic

bpothier

This is probably so simple but I can;t seem to wrap my head around it.

I have data that will be coming in like this  CA123456 - always CA then 6 numbers
I woudl like to do a calculation to convert it to E012345

Basically change the CA to an E on all the records coming in

Can anyone help

Thanks


Francis aka khayman


MFGF

Quote from: bpothier on 09 Jun 2014 12:09:22 PM
This is probably so simple but I can;t seem to wrap my head around it.

I have data that will be coming in like this  CA123456 - always CA then 6 numbers
I woudl like to do a calculation to convert it to E012345

Basically change the CA to an E on all the records coming in

Can anyone help

Thanks

You need an expression something like:

'E' + substring([your data item],3,6)

Cheers!

MF.
Meep!

bpothier

Thanks Everyone. You guys always ome through