Hi,
I have a PowerApp linked to 2 SPs. The first is a User Access list (SPUsers) and the second is Customer Info (CustomerInfo). Like follows:
| Customer | Customer ID | Client Grouping |
| Gotham Trading | 100 | 500 |
| Metropolis Art | 101 | 600 |
| Keystone Pharmaceuticals | 102 | 550 |
| New York Stations | 103 | 870 |
The app needs to load only the client groupings per email address. I have got it to work with only one client grouping for example "John Doe" to work with Client Grouping "500". But I need the App to work such that John Doe can also view the other Client Groupings allocated to him i.e. "550" and "870".
I want to do it OnStart of the application. This is what I currently have:
Set(varUser, User().Email);Set(varUser_ClientGrouping,LookUp(SPUsers, EAddress = varUser).Client_Grouping);ClearCollect(ClientData,Filter(CustomerInfo, Client_Grouping = varUser_ClientGrouping))
How do I accomplish this such that the other client groupings for John Doe be read?
Thanks.