Thank you for your help!
I did the following:
Navigate('Screen4 - Order Review (Shopping Cart)',ScreenTransition.Cover, {'Order Number ':Text(If(!IsBlank(LookUp(Permissions,Email=User().Email)),Gallery3_TeamSearch.Selected.ID,Gallery3_CustomerSearch.Selected.ID))})
This navigates to the second gallery screen of the equipment listed. I have to do a conditional on which 1st gallery screen I am using depending on who is accessing the application: customer versus internal team member. The internal team member will be listed on the SharePoint list, Permissions.
Next, I did the following for the default value of the second gallery:
First(Filter(Orders, 'Order Number '=Text(If(!IsBlank(LookUp(Permissions,Email=User().Email)),Gallery3_TeamSearch.Selected.ID,Gallery3_CustomerSearch.Selected.ID))))
Here I get a delegation warning:
"The 'Text' part of this formula might not work correctly on large data sets."
"Invalid formula. Expected a value compatible with 'Items'."
Then for the Item property, which consists of a lot of lookups because I am combining two tables into one view, I did the following:
Filter(
AddColumns(Equipment As Main,"P1_49Details",LookUp(Prices,'Part Number'=Main.'Part Number').'Unit Price 1-49',"P50_99Details",LookUp(Prices,'Part Number'=Main.'Part Number').'Unit Price 50-99', "P100_199Details",LookUp(Prices,'Part Number'=Main.'Part Number').'Unit Price 100-199',"P200_299Details",LookUp(Prices,'Part Number'=Main.'Part Number').'Unit Price 200-299',"P300_399Details",LookUp(Prices,'Part Number'=Main.'Part Number').'Unit Price 300-399',"P400_499Details",LookUp(Prices,'Part Number'=Main.'Part Number').'Unit Price 400-499',"P500_999Details",LookUp(Prices,'Part Number'=Main.'Part Number').'Unit Price 500-999',"P1000_1499Details",LookUp(Prices,'Part Number'=Main.'Part Number').'Unit Price 1000-1499',
"P1500_1999Details",LookUp(Prices,'Part Number'=Main.'Part Number').'Unit Price 1500-1999',
"P2000_2999Details",LookUp(Prices,'Part Number'=Main.'Part Number').'Unit Price 2000-2999',
"P3000_3999Details",LookUp(Prices,'Part Number'=Main.'Part Number').'Unit Price 3000-3999',
"P4000_5999Details",LookUp(Prices,'Part Number'=Main.'Part Number').'Unit Price 4000-5999',
"P6000_9999Details",LookUp(Prices,'Part Number'=Main.'Part Number').'Unit Price 6000-9999',
"P10000Details",LookUp(Prices,'Part Number'=Main.'Part Number').'Unit Price 10,000+')
,'Order Number '= Text(If(!IsBlank(LookUp(Permissions,Email=User().Email)),Gallery3_TeamSearch.Selected.ID,Gallery3_CustomerSearch.Selected.ID))
)
I think I followed your directions correctly, but I have a delegation warning for the default value of the second gallery from using a Text function. Do you know how to get around that? Otherwise I am getting no error messages.