Forgive me for barging in.
If you create a list that associates users to teams, you should be able to do this.
Add a data connection to your new list (with user and teams). The condition on the repeating table would be something along the lines of:
If Team is not equal to Team (from SharePoint List) where User (from SharePoint List) is equal to userName() (InfoPath function), hide this row.
I'm attaching a simple sample that just uses values in the form / default values for this. Save it locally, right click and select design to open in design mode. From there you can preview. Set any of the fields in the first column of the top table to your user name - rows in the second table should show / hide accordingly