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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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 + .

 

View solution in original post

2 REPLIES 2
gmsamborn
Super User
Super User

Hi @Marcegon 

 

Try using & instead of + .

 

It worked.  Thank you so much!

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Kudoed Authors