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

Divide By Zero problem

Started by dxwallace, 09 Jun 2007 10:28:46 AM

Previous topic - Next topic

dxwallace

How Do I write a calculation for a numeric data item that keeps giving me teh value of "/0" ?

the way I am currently writing it is

((fieldA - FieldB) /  FieldB ) * 100)

mrcool

use decode function and try 2 put '1' in place of '0'.

dxwallace