Show current user name in power bi report builder

Hi friends, can any one guide please how can i display username in paginated report in power bi report builder. I tried to use username, userprincipalname functions but they are not working. Any suggestion will be great help.

thanks and regards

Answer:

You can use User!UserID in an expression to return DOMAIN\username.

ChatGPT answers this question nicely.