Skip to main content

Notifications

Power Apps - AI Builder
Suggested answer

Concatenate, Subtraction in Power App form

(0) ShareShare
ReportReport
Posted on by 281
Hello,
 
I'm coming across an errors where I'm not able to Concatenate 2 fields into one.
 
Also tried doing subtraction from 2 fields. Am I missing some setting within Power Apps?
 
 
 
Please advise.
 
Thanks,
Prakash
Categories:
  • WarrenBelz Profile Picture
    WarrenBelz 145,475 on at
    Concatenate, Subtraction in Power App form
    Just following up to see if you received the answer you needed, or if you require further assistance.

    Please click Does this answer your question 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 a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee
  • WarrenBelz Profile Picture
    WarrenBelz 145,475 on at
    Concatenate, Subtraction in Power App form
    Hi  Prem4253
    Assuming these are Classic controls, I think you need if you are going to simply join the text strings with a space
    DataCardValue13.Text & " " & drpLocation.Selected.Value
    If you are trying to subtract the values and both product numeric results then 
    Value(DataCardValue13.Text) - Value(drpLocation.Selected.Value)
     
    ​​​​​​​Please click Does this answer your question 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 a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

     
  • Prem4253 Profile Picture
    Prem4253 281 on at
    Concatenate, Subtraction in Power App form
    Thanks! Both the solutions works for me now.
     
    But I'm sorry, as I was not clear in the initial post.
     
    For Concatenate - one of my column in a drop down and one of the column in a text column. And this does not gives the desired result.
     
     
    Please advise.
  • realwillwright Profile Picture
    realwillwright 753 on at
    Concatenate, Subtraction in Power App form
    Hi,
     
    You need to add .Value or .Text to the end of your datacards
     
    Concatenate(DataCardValue10.Value,DataCardValue11.Value)
    You can also do it a couple of other ways
     
    DataCardValue10.Value & DataCardValue11.Value
    
    $"{DataCardValue10.Value}{DataCardValue11.Value}"
     
  • Suggested answer
    mmbr1606 Profile Picture
    mmbr1606 10,444 on at
    Concatenate, Subtraction in Power App form
    hey
     
     
    which error message are u getting? what kind of column types do u use? looks like they are no number columns.
     
    if they are text column use this:
    Value(DataCardValue13.Text) - Value(DataCardValue5.Text)
    
    and for concatenate:
    Text(DataCardValue13.Text) & " " & Text(DataCardValue5.Text)
    
    if it helped please mark as verified answer,
     
     
    cheers

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,475

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,767

Leaderboard