Beginner PowerApps user here so hopefully this is just a slight oversight on my part and I apologize if this is something I could have easily found in documentation.
Scenario:
Screen 1 hosts a variety of galleries. When a user OnSelects one of those galleries, it sets a globalvariable with that item's UPN sourced from Sharepoint List 'Roles' and Navigates to Screen 2 where I would use it to display details from Sharepoint List 'Details' that uses the Global Variable UPN to identify and display that record in a ViewForm.
The UPN column exists in both lists and should work as a unique reference between the two lists.
I've confirmed that the variable sets properly with the user's UPN. The problem is I can't seem to use that UPN value to filter down the Details sharepoint list. Lookup, Search, and Filter does not seem to work as it sees the variable as incompatible. I keep getting data type incompatibility errors. I can't do the normal "Gallery.Selected" as it is a different data source entirely.
What am I missing? I feel like I am missing something super simple here. Any help is appreciated.