Проблемы делегирования в IF в большом наборе данных более 2000 LIMIT POWERAPPS - PullRequest
0 голосов
/ 21 февраля 2020

Я работаю над проектом в POWERAPPS, который связан с большим набором данных.

Сейчас галерея отображает весь список, но не последний список, превышение которого> 2000 LIMIT

Вот код внутри Галереи в Предметах:

SortByColumns(If(ExpeditorCheckbox.Value = false,

If(RequestCheckbox.Value = false,If(DateCheckbox.Value = false,Filter('SRE Request List', Geomarket.Value = DropDownGM.SelectedText.Value, StatusO_x002f_C.Value = DropDownStatus.SelectedText.Value, If(Not(DropDownPOState.SelectedText.Value = "All"), StartsWith(POState.Value, DropDownPOState.SelectedText.Value), StartsWith(POState.Value,POState.Value)), StartsWith(Traffic_x0020_Light,TrafficLight.Text), SearchBar.Text in PONumber),
Filter('SRE Request List', Geomarket.Value = DropDownGM.SelectedText.Value, StatusO_x002f_C.Value = DropDownStatus.SelectedText.Value, If(Not(DropDownPOState.SelectedText.Value = "All"), StartsWith(POState.Value, DropDownPOState.SelectedText.Value), StartsWith(POState.Value,POState.Value)), NextFollowUpDate = NextFollowUpDateFilter.SelectedDate,StartsWith(ExpeditorName.DisplayName,NameInput.Text), StartsWith(Traffic_x0020_Light,TrafficLight.Text),SearchBar.Text in PONumber)),

If(RequestCheckbox.Value = true,If(DateCheckbox.Value = false,Filter('SRE Request List', Geomarket.Value = DropDownGM.SelectedText.Value, StatusO_x002f_C.Value = DropDownStatus.SelectedText.Value, If(Not(DropDownPOState.SelectedText.Value = "All"), StartsWith(POState.Value, DropDownPOState.SelectedText.Value), StartsWith(POState.Value,POState.Value)), RequestType.Value = DropdownRequestType.SelectedText.Value ,StartsWith(ExpeditorName.DisplayName,NameInput.Text),StartsWith(Traffic_x0020_Light,TrafficLight.Text), SearchBar.Text in PONumber),
Filter('SRE Request List', Geomarket.Value = DropDownGM.SelectedText.Value, StatusO_x002f_C.Value = DropDownStatus.SelectedText.Value, If(Not(DropDownPOState.SelectedText.Value = "All"), StartsWith(POState.Value, DropDownPOState.SelectedText.Value), StartsWith(POState.Value, POState.Value)), NextFollowUpDate = NextFollowUpDateFilter.SelectedDate, RequestType.Value = DropdownRequestType.SelectedText.Value ,StartsWith(ExpeditorName.DisplayName,NameInput.Text), StartsWith(Traffic_x0020_Light,TrafficLight.Text),SearchBar.Text in PONumber)))),


If(RequestCheckbox.Value = false,If(DateCheckbox.Value = false,Filter('SRE Request List', Geomarket.Value = DropDownGM.SelectedText.Value, StatusO_x002f_C.Value = DropDownStatus.SelectedText.Value, If(Not(DropDownPOState.SelectedText.Value = "All"), StartsWith(POState.Value, DropDownPOState.SelectedText.Value), StartsWith(POState.Value,POState.Value)), StartsWith(Traffic_x0020_Light,TrafficLight.Text), SearchBar.Text in PONumber, StartsWith(ExpeditorName.DisplayName,NameInput.Text)),
Filter('SRE Request List', Geomarket.Value = DropDownGM.SelectedText.Value, StatusO_x002f_C.Value = DropDownStatus.SelectedText.Value, If(Not(DropDownPOState.SelectedText.Value = "All"), StartsWith(POState.Value, DropDownPOState_M.SelectedText.Value), StartsWith(POState.Value,POState.Value)), NextFollowUpDate = NextFollowUpDateFilter.SelectedDate,StartsWith(ExpeditorName.DisplayName,NameInput.Text), StartsWith(Traffic_x0020_Light,TrafficLight.Text),SearchBar.Text in PONumber, StartsWith(ExpeditorName.DisplayName,NameInput.Text))),

If(RequestCheckbox.Value = true,If(DateCheckbox.Value = false,Filter('SRE Request List', Geomarket.Value = DropDownGM.SelectedText.Value, StatusO_x002f_C.Value = DropDownStatus.SelectedText.Value, If(Not(DropDownPOState.SelectedText.Value = "All"), StartsWith(POState.Value, DropDownPOState.SelectedText.Value), StartsWith(POState.Value,POState.Value)), RequestType.Value = DropdownRequestType.SelectedText.Value ,StartsWith(ExpeditorName.DisplayName,NameInput.Text),StartsWith(Traffic_x0020_Light,TrafficLight.Text), SearchBar.Text in PONumber, StartsWith(ExpeditorName.DisplayName,NameInput.Text)),
Filter('SRE Request List', Geomarket.Value = DropDownGM.SelectedText.Value, StatusO_x002f_C.Value = DropDownStatus.SelectedText.Value, If(Not(DropDownPOState.SelectedText.Value = "All"), StartsWith(POState.Value, DropDownPOState.SelectedText.Value), StartsWith(POState.Value,POState.Value)), NextFollowUpDate = NextFollowUpDateFilter.SelectedDate, RequestType.Value = DropdownRequestType.SelectedText.Value ,StartsWith(ExpeditorName.DisplayName,NameInput.Text), StartsWith(Traffic_x0020_Light,TrafficLight.Text),SearchBar.Text in PONumber, StartsWith(ExpeditorName.DisplayName,NameInput.Text)))))),

"RequestID", Descending)
...