Thanks, but it doesn't work yet... I have created a 1st parameter $P{LoggedInUser} from class com.jaspersoft.jasperserver.api.metadata.user.domain.User with no default value (also tried prompt and no prompt) Then I created the 2nd parameter $P{LoggedInUserName} of class java.lang.String with the default value of $P{LoggedInUser}.getFullName() (also tried prompt and no prompt) The query was: SELECT details.`Detail` AS details_Detail, users.`name` AS users_name, users.`db` AS users_db FROM `details` details LEFT OUTER JOIN `users` users ON details.`idUser` = users.`idUser` WHERE users.name = $P{LoggedInUserName} *Note! When I used the default value of "Name1", the report printed out ok, so the query is good. In the SQL Query log we have: SELECT details.`Detail` AS details_Detail, users.`name` AS users_name, users.`db` AS users_db FROM `details` details LEFT OUTER JOIN `users` users ON details.`idUser` = users.`idUser` WHERE users.name = NULL Please help us to understand what are we doing wrong ... :)