Hello @MariolaWi1, You need to search for the Portfolio ID under Project and then use text mode to obtain the portfolio name. Give this a try.
displayname=Portfolio
linkedname=project
namekey=view.relatedcolumn
namekeyargkey.0=project
namekeyargkey.1=portfolio:name
querysort=project:portfolio:name
valuefield=project:portfolio:name
valueformat=HTML