Can you post the code you're using to set the relationships? It might just be a typo that you're overlooking and another pair of eyes might catch.
>It does not seem to matter how I set up the relationships, in the data environment or in code. Also I have added many refreshs through the callses involved.
>