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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Combo Box Once Sorted ...
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:
I have the same question (0)
  • v-liwei-msft Profile Picture
    on at

    Hi @theBrianL 

     

    Could you please tell me:

    What type of columns are Name and SalesDisplayName?

     

    Best Regards,

    Levi

  • theBrianL Profile Picture
    on at

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

  • v-liwei-msft Profile Picture
    on at

    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

    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.  

  • Verified answer
    v-liwei-msft Profile Picture
    on at

    Hi @theBrianL 

     

    Please try:

    Sort(SalesList,SalesDisplayName,Ascending).SalesDisplayName

     

    Best Regards,

    Levi

  • theBrianL Profile Picture
    on at

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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard