Dear all,
I know this discussion is a few years old already - but maybe anyway, somebody here can help me!?
I am getting increasingly desperate as no matter what I do,
ClearCollect(collectMembers; {Result:"All"});;
Collect(collectMembers; Distinct(Vereinsmitglieder;VollstaendigeAdresse))
as a data source for my Power App DropDown list (intended to be a filter drop-down) doesn't work. Note that "Vereinsmitglieder" is a SharePoint list containing a field called "VollstaendigeAdresse" with data like "Postal Code - [blank] - City Name" in it. However, of course, entries like "84189 Wurmsham" can appear 10 or 15 times in that list, so I try to distinct as I only want to see them once.
Plus, as it is supposed to be a filter drop down, I would also want to have an "All" element in it - so that no filter would be applied.
So I found the above code - but no matter what I do, I only get the "All" element in my drop-down. All the entries from the SharePoint List appear as blank elements, i. e., the drop-down has as many rows as I would retrieve from the (distinct) SharePoint list, but they don't show any text... And if I select them, my result Gallery will be filtered to empty...
I truly hope someone can help me here - I am really running out of ideas...
Thank you very much - looking forward to your replies... 🙂
Cheers,
Torsten