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 / Add comments on each s...
Power Apps
Answered

Add comments on each selected item of Choice field

(0) ShareShare
ReportReport
Posted on by

Hi,

I do have a Choice field in SharePoint and I have a requirement to being able to enter a comment on each selected item in a Canvas app.

I've included the Choice field as multiple selection, then I do have a text field that shows selected items and where comments can be entered on each selected item.

 

Jorge_1-1651144832960.png

 

Default of Text field is: Concat(DataCardValue39.SelectedItems,Value&": ",Char(10))

 

This works fine, however there is an scenario, where if I do enter comments as above and then add or remove any item on the choice list, all the comments entered previously are removed.

 

Any advice on how to best accomplish this requirement?

Thanks

 

Jorge_2-1651145018572.png

 

 

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,273 Most Valuable Professional on at

    Hi @Jorge ,

    If you want to keep adding comments, make the Default (I am assuming your field name here)

    With(
     {wExist: ThisItem.'Software Requirements'),
     wExist & Char(10) & 
     Concat(
     DataCardValue39.SelectedItems,
     Value & ": " & Char(10)
     )
    )

     

    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.

    Visit my blog Practical Power Apps

  • Jorge_ Profile Picture
    on at

    Thanks Warren,

    But having same behaviours as before.

    Jorge_1-1651163562110.png

     

    Jorge_2-1651163590092.png

     

    Jorge_3-1651163640744.png

     

     

  • Anonymous_Hippo Profile Picture
    1,247 Super User 2024 Season 1 on at

    @Jorge I tried this and looks like this works

     

    On your On change property of your dropdown field add this code

     

    Set(HipposAreAwesome,Concat(DataCardValue39.SelectedItems,Value &":",Char(10)))

     

    and set the default property of your text field to HipposAreAwesome 

     

     

  • WarrenBelz Profile Picture
    156,273 Most Valuable Professional on at

    Hi @Jorge ,

    It works perfectly for me as below

    MultiField.gif

     

    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.

    Visit my blog Practical Power Apps

  • Jorge_ Profile Picture
    on at

    Thanks Warren, I see you have comments at the top, however I do enter comments besides each selection, maybe that's why is not working for me?

     

     

    sw1.gif

    Jorge_0-1651225390186.png

     

  • Jorge_ Profile Picture
    on at

    Hello, it's not working either.

    My problem is that comments are removed from other selected items.

    sw1.gif

     

  • WarrenBelz Profile Picture
    156,273 Most Valuable Professional on at

    @Jorge ,

    You simply enter the comments before you save - the next selection will then go underneath

     

    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.

    Visit my blog Practical Power Apps

  • Jorge_ Profile Picture
    on at

    Thanks Warren, but it wont work as selection can be removed also, that's when it gets tricky.

     

    Not sure now of any good way of doing that

  • WarrenBelz Profile Picture
    156,273 Most Valuable Professional on at

    Hi @Jorge ,

    I am not entirely clear on your problem here - but if you save each one with the comments before you select the next group, it should work ?

     

    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.

    Visit my blog Practical Power Apps

  • Jorge_ Profile Picture
    on at

    Hi Warren,

     

    it does work adding new selected items.

    But it doesn't when a selected item is unselected.

     

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 421 Most Valuable Professional

#2
11manish Profile Picture

11manish 153 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 116 Super User 2026 Season 2

Last 30 days Overall leaderboard