Solution: Set DefaultSelectedItems from CSV in ComboBox (Dataverse)
You can achieve this by converting your comma-separated string into a table and then matching it with your Dataverse Users table.
Formula (Basic) - Set the DefaultSelectedItems property of your ComboBox to:
Filter(
Users,
'Full Name' in Split(ThisItem.UserCSV, ",").Result
)
How It Works
Split(ThisItem.UserCSV, ",") → Converts CSV text into a table
.Result → Extracts individual values
Filter(Users, ...) → Returns matching records from Dataverse
ComboBox requires records, not text → this ensures correct binding
Handling Extra Spaces (Recommended) > If your CSV values may contain spaces, use:
Filter(Users, 'Full Name' in ForAll( Split(ThisItem.UserCSV, ","), Trim(Result)))
Ensure 'Full Name' matches exactly with stored CSV values - This approach depends on text matching, so duplicates can cause issues
Best Regards,
Pankaj Jangid (OyePanky)
Power Platform Developer
Website: https://dialforit.com
YouTube: https://www.youtube.com/@Oyepanky