Hei,
I've run into a problem. Firt of all, i have a filter for my SP list datatable that filters it by the logged on user, so one can't see irrelevant cases.
I want to add 2 dropdown filters. One filters by a Choice column 'Process' and the other is MonthY
My current filter on the datatable is Filter(mydatasource, 'Created By'.DisplayName = User().DisplayName)
When I add 2 colections to screen3
ClearCollect(collectProcess, {Result: "All"}); \\ My choice column dropdown doesnt get "Add" added to the top of the list, but a blank space.
Collect(Choices([@'MySPlist'].Process));
ClearCollect(collectMonthY, {Result: "-"}); \\ This works for my dropdown and the first value also shows -
Collect(collectMonthY, Distinct(MySPlist, 'MonthY);
How could I solve that it does show the All for the choice column dropdown? How could I get the collection right so if works for both?
And how could I combine all 3 filters on the datatable ?
The first filter is Filter(mydatasource, 'Created By'.DisplayName = User().DisplayName), how could the If statemnt look like?