When i try make a Calvulate value with userProfileLookup
userProfileLookup('XXXXX\ose.fidalgo','Department') gives a error
use of Mutation Events has been discontinued. Alternatively, use MutationObserver.
Try using the system variable Current User to test whether it works at all. That way you don't have to worry about the formatting of the username.