cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rflora
Frequent Visitor

Add Column with blocks of text and columns values more than once

Hey folks,

I am trying to add a column that concatenates more than one piece of text with columns. I tried the following but it is not workin:

 

 

="This is a text example with the column" & [Column 1] & "and" & [Column 2] & "it is not working"

 

 

DataSource.Error: PostgreSQL: 42883: operator does not exist: text + unknown
Details:
DataSourceKind=PostgreSQL
DataSourcePath=*****
Message=42883: operator does not exist: text + unknown
ErrorCode=-2147467259

 

Much appreciated for any help!

Thanks!

1 ACCEPTED SOLUTION
mahoneypat
Super User IV
Super User IV

Looks like you need to convert one or both of your columns to type text, then your formula should work.  Or you can wrap one/both in Text.From( ).

 

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

2 REPLIES 2
mahoneypat
Super User IV
Super User IV

Looks like you need to convert one or both of your columns to type text, then your formula should work.  Or you can wrap one/both in Text.From( ).

 

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

Text.From() made it work. I was tired already :). Thanks a lot!

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

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

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

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors