Hi,
Requirement is to find difference between two timestamp column,
as known one we cannot perform arithmetic operation in non number type in rpd.
Hence tried using TIMESTAMPDIFF function as below,
TimeStampDiff(SQL_TSI_MINUTE, MONITOR_TIMESTAMP, ATT_TIMESTAMP" )
OBIEE server converting this function to below SQL ,
ROUND( ( CAST(ATT_TIMESTAMP as DATE) - CAST(MONITOR_TIMESTAMP as DATE) ) * 1440 )
this returns value as ex: 12 as rounded value without any decimal places.
but we want to have two decimal places, how to fix this or any work around ?
Thanks,
Satheesh