Hi Martin,
Thank you for waiting.
I noticed that in your view "view to show person appearance in events single dog page top" ( hidden link ), you're calling another view "view 7" ( hidden link ), to show the current dog's position/place in the corresponding event:
[wpv-view name="view-7" wpvrelatedto="[wpv-post-id]" role="Owner"]
But this shortcode used here is not correct, because you want to get the related "Dog Appearances" posts with respect to the corresponding event and not the current "Person Appearances" post. Also, you don't need to specify the role here either, because you've already taken care of this in the current view's level ( i.e. "view to show person appearance in events single dog page top" ).
The right shortcode to call this view would be:
[wpv-view name="view-7" wpvrelatedto="[wpv-post-id item='@event-person-appearance.parent']" wpvrelatedtodog="[wpv-attribute name='wpvrelatedto']"]
The "wpvrelatedto" attribute passes on the ID of the event, while the "wpvrelatedtodog" attribute passes on the ID of the current dog.
In the query filter section of the view "view 7", it was set to bring in any posts which are related to the post ID passed on through the "wpvrelatedto" attribute, which isn't what you need in this case either.
Instead, it should be set to bring posts from "Events Dog Appearances", related to the post ID passed on through the "wpvrelatedto" attribute.
Screenshot: hidden link
But this filter will get the half job done, as it will only filter for the events, but not for the current dog. As only one post-relationship filter can be used in a single view, for dog filter, we'll use conditional output check.
( ref: https://toolset.com/documentation/user-guides/views/conditional-html-output-in-views/using-shortcodes-in-conditions/ )
At this point, this view will be showing all "Dog Appearances" posts related to the corresponding event, but they'll not be limited to the current dog.
To limit the results of this view to only the current dog, you can wrap the output inside a conditional check, like this:
[wpv-conditional if="( '[wpv-attribute name='wpvrelatedtodog']' eq '[wpv-post-id item='@dog-dog-appearance.parent']' )"]
[types field='dog-appearance-position'][/types]<br>
[/wpv-conditional]
This means that the inner content will only show when the ID of the dog post passed through the shortcode attribute "wpvrelatedtodog" and the dog post ID related to the current "Dog Appearances" post in the loop are the same.
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar