I need to run a schedule in BO 4.0 which is created in Oracle DB.
If the record count > 0. it will be deliver to my Email else it will fail.
I dont want to receive empty excel in my email. is there any option available in BO 4.0 oracle and teradata DB.
I tried to create measure object as CAST(CASE count() WHEN 0 THEN ‘0rows’ ELSE count() END AS int) in universe and I got parse failed: Exception: DBA. ORA-00932: inconsistent datatype: expected CHAR got NUMBER state : N/A error . Its oracle DB.
Please help me to implement this requirement in universe and report level.
You’re trying to cast the character string ‘0rows’ into an int; that’s a compile error, not a runtime error. You probably just want something like “1/count(*)”.