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 / Get options of column ...
Power Apps
Unanswered

Get options of column of sharepoint list on combobox

(0) ShareShare
ReportReport
Posted on by

I've got this list that has the user mail as user datatype and a column also with user datatype, that has sharedmailboxes for the user in the record. 

Captura de pantalla 2024-04-29 104342.png

I need to populate a combobox whitn the 'Buzones compartidos' elements. 

The filter is the 'Asignado a' Email that I store in a var once the user has logged in the app. 

I'm getting this result

Captura de pantalla 2024-04-29 104613.png

I've got a button to reset the collection wich has this function

----

ClearCollect(collGestores;
    Filter(Gestores;ThisRecord.'Asignado a'.Email = varEmailUsuario));;
----
In the dropdown Items property I have this formula
----
Distinct(Table(ShowColumns(collGestores;'Buzones compartidos'));'Buzonescompartidos')

----

 

How can I get all values from the registry I'm filtering with the variable varEmailUsuario?

Thnx in advance!

Cheers!

 

Categories:
I have the same question (0)
  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @lorodo ,

     

    Do you mean that values of 'Buzones compartidos' shows incorrectly in combo box? What is the type of 'Buzones compartidos' column?

     

    Assuming that 'Buzones compartidos' is single line of text. Please try this if you want to populate values of 'Buzones compartidos' filtered by 'Asignado a'.Email = varEmailUsuario.

     

    Items of combo box.

    Distinct(Filter(Gestores;'Asignado a'.Email = varEmailUsuario);'Buzones compartidos')

     

    Best regards,

    Rimmon

  • lorodo Profile Picture
    on at

    Hi @v-mengmli-msft ! 

    Thanx for your response. 

    'Buzones compartidos' column is a multivalue User datatype. 

    Your solution shows another integer on combo, but is not the solution I'm looking for. 

    As you can see, the 'Buzones compartidos' column has several values for each record. 

    The filter I'm currently using to populate, works fine, as the registry ID shows the row I want when showing the collection, but I'm trying to get all values from 'Buzones compartidos' as unique items in combo. 

    This is an example of the list i'm currently using. 

    Asignado a (User datatype)IDBuzones compartidos (Multi User datatype)
    user1@mail.com1

    mailbox1@mail.com

    mailbox2@mail.com

    user2@mail.com2

    mailbox2@mail.com

    mailbox3@mail.com

    The user opening the app filters with the first row.

    I want to populate the combobox with values

    mailbox1@mail.com

    mailbox2@mail.com

    When pressing the button that filters, the ID is correct, but combo still shows an unknown integer. 

    Captura de pantalla 2024-04-29 113008.png

    The items parameter when hovering on combobox on edit view shows this, if it helps

    Captura de pantalla 2024-04-29 113210.png

    Best regards,

    Lorodo

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 94

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard