Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Combo Box Once Sorted Will Not Post Data

(0) ShareShare
ReportReport
Posted on by

I have ComboBox1, which is a People box that is connected to a SalesList that updates the MainList in a people picker field called Name.   In the Items property it has SalesList.  It works fine until I try to sort the list. 
I added Sort(SalesList.SalesDisplayName,Ascending).  It sorts the list, but then adds these numbers at the bottom of each name like 6824,7815,etc, which are not in the list at all. ?  Then when I select the whole card Name_DataCard4 it shows the Update formula which only allows ComboBox1.Selected, whereas before I was using ComboBox1.Selected.Name.  It doesn't allow ComboBox1.Selected.Result either.  So the data doesn't post to the SP List.  Any idea what is causing this behavior? 

Categories:
  • theBrianL Profile Picture
    on at
    Re: Combo Box Once Sorted Will Not Post Data

    Well that worked except I left off the .SalesDisplayName at the end.  Thank you! 

  • Verified answer
    v-liwei-msft Profile Picture
    on at
    Re: Combo Box Once Sorted Will Not Post Data

    Hi @theBrianL 

     

    Please try:

    Sort(SalesList,SalesDisplayName,Ascending).SalesDisplayName

     

    Best Regards,

    Levi

  • theBrianL Profile Picture
    on at
    Re: Combo Box Once Sorted Will Not Post Data

    OK I'm not currently using 365.   The whole thing works fine and updates the list and adds the person in the people picker field (name).  It's just that when I try to add a sort formula, all of this strange behavior happens.  

  • v-liwei-msft Profile Picture
    on at
    Re: Combo Box Once Sorted Will Not Post Data

    Hi @theBrianL 

     

    Do you want to update the person column of the main table based on the text column of SalesList?

    You need to use the Office365Users connector.

    vliweimsft_5-1677641825097.png

     


    I made a test for your reference:

    1.

    vliweimsft_1-1677641492208.png

    vliweimsft_2-1677641515725.png

    2.

    vliweimsft_3-1677641714187.png

    Sort(NEW,SalesDisplayName,Ascending).SalesDisplayName

    3.

    vliweimsft_4-1677641762687.png

    {
     '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpanderUser",
     Claims: "i:0#.f|membership|" & Lower(First(Office365Users.SearchUserV2({searchTerm: ComboBox1.Selected.SalesDisplayName}).value).Mail),
     Department: "",
     DisplayName: ComboBox1.Selected.SalesDisplayName,
     Email: "",
     JobTitle: ".",
     Picture: "."
    }

     

    Best Regards,

    Levi

     

  • theBrianL Profile Picture
    on at
    Re: Combo Box Once Sorted Will Not Post Data

    Name is Person and Group(People Picker) and SalesDisplayName Single Line of Text. 

  • v-liwei-msft Profile Picture
    on at
    Re: Combo Box Once Sorted Will Not Post Data

    Hi @theBrianL 

     

    Could you please tell me:

    What type of columns are Name and SalesDisplayName?

     

    Best Regards,

    Levi

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,587 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard