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

Error 'sqlPrepareWithOptions' status='-9' when I insert data item.

Started by svj, 08 Nov 2013 09:45:40 AM

Previous topic - Next topic

svj

I have two data items :

1)

sum(If ([DEV].[STATUS] IN ('Success','Failure'))
THEN ([DEV.[AMT])
ELSE (0))

2)

sum(If ([DEV].[STATUS] IN ('Success','Failure'))
THEN (1)
ELSE (0))

When I try to use the first item in a list cell I get an error 'sqlPrepareWithOptions' status='-9' / group function is not allowed here


Thanks!

Lynn

I don't think you need the sum function. Try removing it and then setting the aggregate property for the data item to total.