Hi guys,
I'm currently building a PowerApp in the Dataverse of Dynamics365.
I have a gallery which displays the contact entity. A contact can be connected to a company. The users now request to also search for the company.
To display the Company Name in the gallery I do a lookup over the ERP Number:
LookUp(Companies, 'ERP Company Number' = ThisItem.'ERP Company Number').'Company Name'
Now I want to adjust the items function of the gallery, that I can search also for the company name.
Items currently looks like this:
Search([@Contacts], SearchInput1.Text, 'Full Name', 'E-Mail Adress')
And I tried doing it like this:
Search([@Contacts], SearchInput1.Text, 'Full Name', 'E-Mail Adress',LookUp(Companies, 'ERP Company Number' = ThisItem.'ERP Company Number').'Company Name')
Does anyone have an idea how I could solve this?
Thanks in advance :)