Oracle Business Intelligence Applications Forum

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

SQL Filter Issue - INSTR Function Causing Report Filters to Disappear for Specific Users

Received Response
25
Views
3
Comments

Hi everyone,

we're experiencing an interesting issue with report filters in Oracle Learning Management (or similar).

Problem: When we use filters based on SQL queries, for some specific users the report filters disappear completely, making the report non-functional.

Technical Details: We've identified the critical point in the query that causes the error:

Copy

AND INSTR(',' || xxx.co_attribute1 || ',',           ',' || xle_le.legal_entity_identifier || ',') > 0

wlf_learning_items_f xxx

xle_entity_profiles xle_le

Observed Symptoms:

  • Filters work correctly for most users
  • For specific users, filters disappear from the report
  • The query doesn't return errors, but simply doesn't apply the filters

Questions:

  1. Has anyone else encountered similar behavior?
  2. Could it be related to NULL values or whitespace in the co_attribute1 or legal_entity_identifier fields?
  3. Do you have suggestions for better handling of this INSTR function in case of inconsistent data?

Any feedback will be greatly appreciated!

Thank you, Rosita

Answers