I earlier used Index function to filter a collection or gallery with multi select values from a combo box without any issue. Today I have noticed this weird error while using the same index function.
The second argument to the 'Index' function must be between 1 and 1, the lower and upper bounds of the table. The upper bound may be reduced due to the non-delegation limit.
Here is my code at OnChange property of my combo box. My 'Project Type' column is a single line of text column in my data source.
ClearCollect(
colPLEWebTemp,
Filter(
'PVRT Metrics List',
And(
Division = cmb_Filtr_Division.Selected.Title,
Department = cmb_Fltr_Dept.Selected.Title,
Or(
IsEmpty(Self.SelectedItems),
IsBlank(Self.SelectedItems),
'Project Type' = Index(
Self.SelectedItems,
1
).Title,
'Project Type' = Index(
Self.SelectedItems,
2
).Title,
'Project Type' = Index(
Self.SelectedItems,
3
).Title,
'Project Type' = Index(
Self.SelectedItems,
4
).Title,
'Project Type' = Index(
Self.SelectedItems,
5
).Title
)
)
)
);
The combo box items property has
SortByColumns('Project Types List',"Title")
Has anything changed recently with respect to this function or related areas. Kindly help what could be done here?