The are not "Is<type>" or "Safe/try cast" built-in functions in the query engine.
You can use the regex capability.
This basic example returns a non-null string which matches a numeric literal which can include an optional leading sign. This expression can be referenced in another expression which performs a CAST to an integer type.
case when occurrences_regex ( '[+-]?[0-9]+\b' , [REGEX].[CASE].[C1] ) > 0then [REGEX].[CASE].[C1] else NULLend
------------------------------
NIGEL CAMPBELL
------------------------------
Original Message:
Sent: Mon May 15, 2023 09:02 AM
From: Raj Kavalla
Subject: How can I check if the field is numeric.
How can I check if the field is numeric. IsNumeric function does not seem to work in Cognos Analytics 11.1.7
------------------------------
Raj Kavalla
------------------------------