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 / Concat Dropdown Select...
Power Apps
Answered

Concat Dropdown SelectedItems and TextInput Value

(0) ShareShare
ReportReport
Posted on by 76

Hi, 

 

I am getting error in the below formula: Expected Record Value. 

 

I have a dropdown ( Market ), user can select multiple and if that option is not found in the dropdown, I have added a text field which shall be updated in the Market dropdown field. 

 

It worked fine but additional requirement is if user selected 3-4 options in the dropdown and also wants to enter text in the textinput field.  How can I concatenate multiple values from the dropdown and value in text input field and save it. 

 

update property of the dropdown data card: 

 

If(IsBlank(DataCardValue2.Selected), TextInput.Text, Concat(DataCardValue2.SelecteItems, Value, ",") & 

If ( IsBlank(TextInput1.Text),"", TextInput1.Text & "," ) ) 

 

 

Categories:
I have the same question (0)
  • zeg Profile Picture
    96 on at

    @itzRobin 
    Please try 
    Concat(DataCardValue2.SelectedItems,Value, ",") & If(!IsBlank(DataCardValue2.Selected)*!IsBlank(TextInput1),",") & TextInput1.Text

    Hope this helps.

  • WarrenBelz Profile Picture
    153,075 Most Valuable Professional on at

    Hi @itzRobin ,

    Maybe you are after this

    If(
     IsEmpty(DataCardValue2.SelectedItems), 
     TextInput.Text, 
     Concat(
     DataCardValue2.SelectedItems, 
     Value, 
     ","
     ) & 
     If( 
     !IsBlank(TextInput1.Text),
     "," & TextInput1.Text
     ) 
    ) 

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • itzRobin Profile Picture
    76 on at

    @WarrenBelz  getting error 

    error.jpg

  • itzRobin Profile Picture
    76 on at

    @zeg i tried your approach but same error

     

    error2.jpg

  • Verified answer
    WarrenBelz Profile Picture
    153,075 Most Valuable Professional on at

    @itzRobin ,

    If that is a Choice field

    {
     Value:
     If(
     IsEmpty(DataCardValue2.SelectedItems), 
     TextInput.Text, 
     Concat(
     DataCardValue2.SelectedItems, 
     Value, 
     ","
     ) & 
     If( 
     !IsBlank(TextInput1.Text),
     "," & TextInput1.Text
     ) 
     ) 
    }

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • itzRobin Profile Picture
    76 on at

    Thank you @WarrenBelz 

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