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 values not s...
Power Apps
Answered

Combo box values not saving in canvas app

(1) ShareShare
ReportReport
Posted on by 174

Hello, 

 

I have a custom Combo box and Items are from Excel, I was able to select the values but when I save and refresh, it is saving with some random single selection(multi values are not saving). below are the screens for reference. 

 

godala_vamshi_0-1634598952281.png

godala_vamshi_3-1634599213471.png

 

godala_vamshi_1-1634599030283.png

On Data card update : 

godala_vamshi_2-1634599073527.png

 

Thank you! 

 

Categories:
I have the same question (0)
  • HolaManchester Profile Picture
    16 on at

    Hola,

    have you tried to use the concat?

  • v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @godala_vamshi,

    Do you want to save multi select from combo box to your excel table?

    Could you please tell me that how you set the Items property of the Combo Box?

     

    If you set the Combo Box with the column directly as below:

     

    Table1.ApplicationName

     

    I think you should modify your Update formula as below:

     

    Concat(DataCardValue3.SelectedItems,ApplicationName,";")

     

  • godala_vamshi Profile Picture
    174 on at

    @v-qiaqi-msft  I just want to save field values with in form using Application names from source excel. 

    I tried as you suggested but seeing below error for update. 

    Thank you for you help! 

    godala_vamshi_0-1634707519628.png

     

  • v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @godala_vamshi,

    Could you please check my formula one more time?

    Concat(DataCardValue3.SelectedItems,ApplicationName,";")

    vqiaqimsft_0-1634708446269.png

    Concat(DataCardValue3.SelectedItems,ApplicationName,";")

    Please note that there are four operators within the Concat(), first is a dot, second and the third are a dot as well, and the last one is a separator referred using a "".

  • godala_vamshi Profile Picture
    174 on at

    @v-qiaqi-msft Yes, I tried that and it is expecting Table value. 

    Thank you!

    godala_vamshi_0-1634756686000.png

     

  • v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @godala_vamshi,

    Could you please tell me that if the ApplicationName column exists in an Excel table or SP list?

    For that you have set the Update property with {Value:xxxx} at very first, I guess you want to save the Combo Box selected items to a Choice column in the SP list, right?

     

    If so, I think you should try the following steps:

    1). Make sure that the Choice column in the SP list allows multi select in column settings

    2). Modify your Update property as below:

    ForAll(DataCardValue3.SelectedItems,Value)

     

    Please do answer the above questions if the formula could not solve your problem.

  • godala_vamshi Profile Picture
    174 on at

    @v-qiaqi-msft Yes, ApplicationName is existed on Excel table(screen below). Yes, for the custom combo box I created source should be Excel AppName and I want to save that value in choice field(which does accepts multi select) in SP list(screen below). 

    I tried updating the update property but getting error for "For All" 

    Also, do you think is that some thing to do with default property? I have set default property as ThisItem.AppInterfaces

     

    Thank you and appreciate your help on this.

     

    godala_vamshi_2-1634838083172.png

     

    godala_vamshi_0-1634838037309.png

    godala_vamshi_1-1634838051780.png

     

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @godala_vamshi,

    Modify your formula as below:

    ForAll(DataCardValue3.SelectedItems,ApplicationName)
  • godala_vamshi Profile Picture
    174 on at

    @v-qiaqi-msft Thank you, That worked. 

  • godala_vamshi Profile Picture
    174 on at

    @v-qiaqi-msft 

    Hi, 

     

    We just noticed when we try to add additional values to combo box and save, when we refresh the record it is saving with the newly selected value and removing the previous value, I tried adding if condition for update property but no luck.  

     

    For example: If I select below values and save for the 1st time, there is no issue. 

    godala_vamshi_0-1637036974197.png

    But then I comeback next time and add additional value as below and save/refresh, It is only saving new selected value.  

    godala_vamshi_1-1637037000861.png

    On Update : ForAll(DataCardValue3.SelectedItems,ApplicationName)

    Default : ThisItem.AppInterfaces

     

    Thank you very much in advance! 

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard