Avatar of garfunkal
garfunkal

asked on 

Using extended sql - IN operator bringing #IERR

I have a  very simple report with thee objects in the data provider
Dimensions - Agent Number, Quote Type
Measure - Count of Quote Enquiries

I am trying to create a report that has Agent Number, Count of Quote Enquiries, and a variable created by me Count of Annual.

The count of annual object is causing me the grief - I dont want the Quote Type object in the report so am using 'IN' to give an output context
The variable looks like this -
=Sum(If <Quote Type Desc>="Annual" Then  Sum(<Count of Enquiries>)) In  (<Quote Type Desc>)

this gives me the #ierr - I have tried using forall/foreach too but no success!

I have been able to use a similar approach on a completely different report as below - although i appreciate without the background it may be of lttle use for me to post!
=Sum((If <IBCL Booking Date>><Due Next Month Full End OF Month> Then<Sum Actual Layer Amount(SCG)> Else 0) In ( <IBCL Booking Date> ,<SL Due Date>))
DB Reporting Tools

Avatar of undefined
Last Comment
garfunkal
Avatar of wykabryan
wykabryan
Flag of United States of America image

I know within Crystal when passing multiple parameter values an in may work, but an = does the trick.  Not sure if it would appear in the 5.6 world as well.
Avatar of garfunkal
garfunkal

ASKER

i am not sure that syntax works in BO - multiple = would confuse the compiler!

any other ideas?
Avatar of Mike McCracken
Are you using Crystal Reports?

Where are the formulas entered?

mlmcc
Avatar of wykabryan
wykabryan
Flag of United States of America image

He is using BO 5.6 it is similar to the Webi based tool.
Avatar of garfunkal
garfunkal

ASKER

i managed to sort it myself now.
What was the resolutioin?

mlmcc
ASKER CERTIFIED SOLUTION
Avatar of garfunkal
garfunkal

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
DB Reporting Tools
DB Reporting Tools

A database report is the formatted result of database queries and contains useful data for decision-making and analysis. Most good business applications contain a built-in reporting tool; this is simply a front-end interface that calls or runs back-end database queries that are formatted for easy application usage.

8K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo