Showing results for 
Search instead for 
Did you mean: 
Post Prodigy
Post Prodigy

Concatenate Free Text field (User imput)?

Hi Folks - I have a field called "Brand Name" that needs to be concatenated with another field is the other field is not blank. Brand Name is also free text and user input, which makes it tricky. I have the following code: 


If( Not( IsBlank(DataCardValue36.Text) ),Concatenate(ThisItem.Brand_x0020_Name,"(",DataCardValue36.Text,")"), ThisItem.Brand_x0020_Name )

But it just keeps over writing the "Brand Name" field with the other value all together. Is there a way to do this? Or do I need to make an intermeidary "Brand Name" property to do this? Thanks!

Super User III
Super User III

Hi @simms7400 

Just to clarify, where exactly are you using this formula?

Are you trying to display the concatenated value in a label, or are you trying to display this concatenated value in the same text entry box where the user enters the "brand name"?



Yes same box as Brand Name
Community Support
Community Support

Hi @simms7400 ,

Do you want to display this concatenated value in the same text entry box where the user enters the "brand name"?


Based on the needs that you mentioned, I afraid that there is no direct way to achieve your needs. As an alternative solution, please take a try with the following workaround:

Set the OnChange property of the "Brand Name" Text Box to following (this property would be fired when only move your mouse focus from the "Brand Name" Text Box to other place in current screen😞

UpdateContext({ShowVar: false});
   Set(ConcatenatedValue, Concatenate(BrandNameTextBox.Text, "(", DataCardValue36.Text, ")")),
Set(ConcatenatedValue, BrandNameTextBox.Text) ) UpdateContext({ShowVar: true});

Set the Default property of the Brand Name Text Box to following:

   ShowVar = true,


Set the OnVisible property of the current screen to following:

UpdateContext({ShowVar: false});

Please consider take a try with above solution, then check if the issue is solved.


Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (46,958)