My Oracle Support Banner

Analysis With CASE Function Fails With Error (Doc ID 2656917.1)

Last updated on JANUARY 18, 2022

Applies to:

Oracle Analytics Cloud - Version 105.5.0 and later
Oracle Analytics Cloud - Classic - Version 105.5.0 and later
Information in this document applies to any platform.

Symptoms

Analysis having CASE-WHEN function fails with below error. 

Error: Odbc driver returned an error (SQLExecDirectW).

Error Details

Error Codes: OPR4ONWY:U9IM8TAC:U9IM8TAC:U9IM8TAC:U9IM8TAC:OI2DL65P

State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. (HY000)

State: HY000. Code: 43113. [nQSError: 43113] Message returned from OBIS. (HY000)

State: HY000. Code: 43119. [nQSError: 43119] Query Failed: (HY000)

State: HY000. Code: 23004. [nQSError: 23004] Invalid request: Subtotal GROUP BY clause cannot contain an aggregate expression case when ......

 

Steps to verify:

  1. For example, A report having CASE-WHEN function,
  2. Run the report. Above error received.      

Changes

 Upgrade to 105.5.0

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.