I have a query that was written as a Data Analysis in Oracle OTBI, and I am using it inside of BIP Data Model and I am structuring parameters for the Oracle BI EE logical SQL. The below parameter :P_Item_Number I would like to use as an optional multi-select parameter in the WHERE clause, where the user can either select 1 or more Item numbers, or they can leave it set to All so that it doesnt filter items.
AND ("Main"."Item" IN(IFNULL(:P_Item_Number, null)) or :P_Item_Number IS NULL)
I am getting the following error when trying to validate the statement:
java.io.IOException: prepare query failed[nQSError: 43113] Message returned from OBIS. [nQSError: 43119]
Query Failed: [nQSError: 46033] Datatype: 25 is not supported.
The :P_Item_Number
parameter is a string parameter setup for Multiple selection:
What do I need to update my syntax to for this to work? Thanks in advance.