Sorry I wasn't able to explain myself well. I actually solved this with a custome filter.
SELECT
vserver.name,
vserver.type,
vserver.uuid,
vserver.name_service_switch,
vserver.nis_domain,
vserver.language,
vserver.comment,
vserver.admin_state,
vserver.nfs_allowed,
vserver.cifs_allowed,
vserver.fcp_allowed,
vserver.iscsi_allowed,
cluster.primary_address AS 'cluster.primary_address'
FROM
cm_storage.vserver,
cm_storage.cluster
WHERE
cluster.id = vserver.cluster_id
AND vserver.name like '%${vserver_name}%'
AND (
cluster.name = '${cluster_name}'
OR cluster.primary_address='${cluster_name}'
)
and those variables are filled in in the search with functions