web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / To display data in gal...
Power Apps
Unanswered

To display data in gallery based on selected values in combobox

(0) ShareShare
ReportReport
Posted on by 95

HI, 

I have one gallery and one combobox3.

Items for combobox3  - Office365Users.SearchUserV2({searchTerm:ComboBox3.SearchText}).value

In gallery I want to fetch details of selected email details with respect to combobox3,

If I select two mails in combobox3 then data that matches two emails should get display in gallery

 

In combobox3 If i search abc@gmail.com, def@gmail.com

in sharepoint I have data like this 

Emp ID   Email                      Company

4747      abc@gmail.com      xyz

2134      def@gmail.com      hja

5258     jdj@gmail.com       jaj

since I have searched abc@gmail.com, def@gmail.com these two emails then these two persons details should display in gallery

I have written this formula  - Concat(ComboBox3.SelectedItems,'Email ID' & " , ") , but it is not displaying data 

 

 

Any suggestion would be helpful

 

Categories:
I have the same question (0)
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    if you filtering gallery based on comboox items then your formula in gallery's item property should be:

     

    Filter(ListName,EmailColumn in Combobox3.SelectedItems)

  • WarrenBelz Profile Picture
    155,632 Most Valuable Professional on at

    Hi @Hemasai1999 ,

    Put this on the OnChange of the Combo Box

    Clear(colEmails);
    ForAll(
     ComboBox3.SelectedItems,
     Collect(
     colEmails,
     Office365Users.SearchUserV2({searchTerm: xxxx}).value
     )
    )

    Where xxxx is the valid output of ComboBox3.Selected.xxxx   Your gallery Items is then colEmails

     

    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.

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 414

#2
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard