Oracle Transactional Business Intelligence

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Comma separated value input in presentation variable - OTBI report Issue

Question
32
Views
0
Comments
User_I4RQV
User_I4RQV Rank 1 - Community Starter

Hello Team,


We have a requirement to have a comma separated order numbers as an input variable and have data filter criteria driven by this input to help them manage Order backlog. 
We are currently utilizing presentation variable and adding below SQL criteria to implement this requirement, but facing issues during report execution ( [nQSError: 27002] Near <with>: Syntax error (HY000) ).
SQL string used to decode:("Order Header Detail"."Order Number" IN (with rws as ( select @{variables.Order_Number} str from dual)   select regexp_substr (str,'[^,]+',1,level) value from rws connect by level <= (length ( str ) - length ( replace ( str, ',' ) ) + 1)))
Reaching out to this group for guidance and alternate options utilized to implement similar requirement.

Tagged: