COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => Report Studio => Topic started by: gatorfe on 30 May 2007 02:09:28 PM

Title: Formula Syntax Help
Post by: gatorfe on 30 May 2007 02:09:28 PM
There is a field in my report called [Account + Cost Center].  It combines an account number that is 6 digits long and a cost center that is 3 digits long.  This is always the case.  I am trying to write a filter that only shows me a range of certain cost centers.  This is what I came up with but it does not seem to work.  Any suggestions?  Thanks in advance. 

right([Account + Cost Center], 3) between 300 and 500
Title: Re: Formula Syntax Help
Post by: COGNOiSe administrator on 30 May 2007 03:37:07 PM
Cast to number first. then do between.