Hi Tomas, Thank you for reach out to us.
Based on the screenshot you provided, it looks like the function wasn’t recognized. Please note that the
DATETIME_DIFF function
ONLY exists in GoodData Cloud. If you are using GoodData Platform (which it seems like you are), that function cannot be used.
In Platform, you would get similar results by using
Date Attribute Arithmetics. Take a look there!