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

Community site session details

Session Id : 3k+6S6xb5uCMDRD+vC3ZGy
Power Apps - Building Power Apps
Answered

Concat Dropdown SelectedItems and TextInput Value

Like (0) ShareShare
ReportReport
Posted on 24 May 2023 06:44:54 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)
  • itzRobin Profile Picture
    76 on 24 May 2023 at 10:24:32
    Re: Concat Dropdown SelectedItems and TextInput Value

    Thank you @WarrenBelz 

  • Verified answer
    WarrenBelz Profile Picture
    149,440 Most Valuable Professional on 24 May 2023 at 10:20:56
    Re: Concat Dropdown SelectedItems and TextInput Value

    @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 24 May 2023 at 09:39:02
    Re: Concat Dropdown SelectedItems and TextInput Value

    @zeg i tried your approach but same error

     

    error2.jpg

  • itzRobin Profile Picture
    76 on 24 May 2023 at 09:36:34
    Re: Concat Dropdown SelectedItems and TextInput Value

    @WarrenBelz  getting error 

    error.jpg

  • WarrenBelz Profile Picture
    149,440 Most Valuable Professional on 24 May 2023 at 08:40:31
    Re: Concat Dropdown SelectedItems and TextInput Value

    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

  • zeg Profile Picture
    92 on 24 May 2023 at 08:40:24
    Re: Concat Dropdown SelectedItems and TextInput Value

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

    Hope this helps.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading started
Loading complete