Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Marcegon
Helper II
Helper II

How to add text to a formula for an existing column

Hi, I am trying to add text to the following formula, but I am getting an error because I can't add "+" to text.  

 

if [Status] = "spend confirmed" then [Status]
else if DateTime.From([End Date]) <= Date.AddDays(DateTime.LocalNow(), -60) and not Text.Contains([Status], "confirmed") then [Status] + "should be spend confirmed" 

else [Status]

 

Any help would be appreciated.  Thank you!

 

 

1 ACCEPTED SOLUTION
gmsamborn
Super User
Super User

Hi @Marcegon 

 

Try using & instead of + .

 



Proud to be a Super User!

daxformatter.com makes life EASIER!

View solution in original post

2 REPLIES 2
gmsamborn
Super User
Super User

Hi @Marcegon 

 

Try using & instead of + .

 



Proud to be a Super User!

daxformatter.com makes life EASIER!

It worked.  Thank you so much!

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.