Hello,
I am facing the following problem in power apps:
In a combobox I have as items:
Office365Users.SearchUser({searchTerm:Self.SearchText}) By default, the control displays the customer's mail that matches a selected item in the gal_0_Orders gallery:
Office365Users.SearchUser({searchTerm:gal_0_Orders.Selected.Customer}) I need to add a new condition, as the client may have an external email. When that happens, it should show that external email by default. I have tried the following, but it gives me an error because it is not a table value, but a record value:
If(
!IsBlank(
Office365Users.SearchUser({searchTerm:gal_0_Orders.Selected.Customer}));
Office365Users.SearchUser({searchTerm:gal_0_Orders.Selected.Customer});
{DisplayName: LookUp(External_Customer;Mail=gal_0_Orders.Selected.Customer).Mail})
External_Customer is a Dataverse table where I store the external emails of customers.
Does anyone know how I could solve this?
Thanks in advance!