Announcements
I need to get the lookup Domain value from SharePoint list for that respective user ().email
In below table Owners and Escalation Focals have multiple Domains to look for. How to get their respective domains in default selected value of a Combobox when the user is from Owners or Escalation column?
Please help.
Hi @Surajde ,
Something like
Filter( SPListName, 'Escalation Focals' = User().FullName || Owners = User().FullName ).Domains
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps
Thanks WarrenBelz for quick response. It is working when user().email has only 1 Domain. If he has Multiple domains then its not appearing in comboxbox.When added Deepak's email then formula not working. Please help.
@Surajde ,
The Filter I provided should show all matching (User's name is in Domains or 'Escalation Focals') in the Items of the Combo Box. DefaultSelectedItems are another matter - you did not tell me the Items of the Combo Box, but on the assumption that the field displayed is Domains, try
ForAll( Filter( SPListName, 'Escalation Focals' = User().FullName || Owners = User().FullName ) As aDom, {Domains: aDom.Domains} )
I wonder formula only works for Owners or Escalations Focals who has only 1 domain. But whomsoever has more than 1 domain is not getting selected in defaultselecteditems of ComboBox
Rami has two domains then ComboxBox is not showing any selected values.
@Surajde
You are stretching the limits of what a Combo Box will do here - I do not believe you can do many-to-many filters in the DefaultSelectedItems of a Combo Box.
@WarrenBelz This is the original question 😃.
If you can please suggest alternate workaround for this.
Maybe (I cannot test this) -
{ Domains: ForAll( Filter( SPListName, 'Escalation Focals' = User().FullName || User().FullName in Owners ).Domains, Domains ) }
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 519 Most Valuable Professional
11manish 489
Haque 327