Views: Trying to filter content by two field values (either/or)?
You can solve this without any additional modules or coding, just with pure Views + Entity Reference. Here is how:


You need to add 1 more relationship to your current View (looking at your screenshot):


Entity Reference: Targeted User => This is the Entity Reference field that points to a User, what you call "targetuser"

You need to add a "User: Current" filter to your view. Once you click on that, you should see the following:

This filter will allow you to select only the nodes where the targeteduser is the same as the logged-in (current) user.
You need to place the universalswap in an OR relationship to the new filter inside a FILTER GROUP. Then place that group in an AND relationship to the rest of your filters, i.e. Type = Messages.


That should do it without any additional modules.
Here is a screenshot of my final View configuration:

I am logged in as admin (uid:1) and you can see in the results that I am getting all messages that are either "Universal" or targeted at me.

Good luck!