Hi,
I have a multi-select combo-box that saves into a column from a Sharepoint list record delimited by comma (This is for visitor management).
Possible entries for the column "Location" are e.g.
On a different screen I would now like to have a combo-box with items = the distinct items present in the column "Location", i.e.
I tried DISTINCT, but that gets me the "original" entries as each entry is distinctly different, which is what I would expect.
I tried to work with Split and Concat but get into issues with Record vs Text vs Table. How can I take all te entries, split them up into their components and then run a distinct over them?
Any help is appreciated.
Thank you @Amik , this worked like a charm. I had not used Ungroup before.
If the Location field is a multi-select choice column, try:
Distinct(
ForAll(
Ungroup(
ForAll(
'Your SharePoint List',
Split(
Concat(
Location,
Value,
"," //replace with your delimiter
),
"," //replace with your delimiter
)
),
"Value"
),
Trim(Value)
),
Value
)
If the Location field is a Single Line Text column (with "," as the delimiter), try:
Distinct(
ForAll(
Ungroup(
ForAll(
'Your SharePoint List',
Split(
Location,
"," //replace with your delimiter
)
),
"Value"
),
Trim(Value)
),
Value
)
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473