I can't have acces to the 2022R2 version. 

The expression depend on other expressions and report definitons, this is a screen of the expression

I want to apply it here : 

As you can see it's not red so the unit is compatible but i got error when i click apply