COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: Amber12 on 21 Jul 2017 11:19:29 AM

Title: Query Calculation error
Post by: Amber12 on 21 Jul 2017 11:19:29 AM
I have a report where I have to use this query calculation for Inv Days. When I test the expression I get no errors. However, when I add it to the report I get a bunch of errors. I am recreating the report and I am not familiar with the function used. I can't tell what is causing this. Anybody can help me with this?

Thank you
Title: Re: Query Calculation error
Post by: Amber12 on 21 Jul 2017 11:20:35 AM
These are the errors...a long list.  ::)
Title: Re: Query Calculation error
Post by: New_Guy on 21 Jul 2017 12:37:06 PM
Hi,
Are the date columns data type is date and which database are you using? Did you try _days_between function? Even if there is one error cognos will produce error like the one you posted.
Good luck
New guy