snippetsqlMinor
How do I join 2 columns in query result (SQL report builder)
Viewed 0 times
resultcolumnsbuildersqlqueryjoinreporthow
Problem
As the image below shows, on my DB I also have 2 columns that appear in the results pane separately - first name and last name - (lower part of image)
How do I join them together in the report builder?
How do I join them together in the report builder?
Solution
In SSRS you don't join them in the result set (unless you do it in the data source) but you can use expressions in the design to show them concatenated in your report.
Have a look at Expressions (Report Builder and SSRS).
Your expression would be something like
Have a look at Expressions (Report Builder and SSRS).
Your expression would be something like
=Fields!FirstName.Value & Fields!LastName.ValueCode Snippets
=Fields!FirstName.Value & Fields!LastName.ValueContext
StackExchange Database Administrators Q#182830, answer score: 3
Revisions (0)
No revisions yet.