Writing expressions using the SSDT tool

Posted on 2013-11-18
Medium Priority
Last Modified: 2013-11-20
I just started using the SSDT Data Tool and am wondering how to write expressions. What I'm trying to do as a test is create a small report using Vendor Contact info. There are 3 address fields then a city, state and zipcode. I wish to string together all three address fields as long as there is data in each one of them. I have NO idea how to write this expression.

The report will look like this:

Name          Address          City, State ZipCode              Phone                Fax
xxxxxxx  xxxxxxxxxx  xxxxxxxx, xx, xxxxx    (999) 999-9999   (999) 999-9999
Question by:BlakeMcKenna
LVL 37

Expert Comment

ID: 39658639
I have the impression you might be mixing two different tools, which is quite normal because their names are rather confusing.

You're referring to SSDT: SQL Server Data Tools.  But these are not meant for report development.

What I think you need is called SSDT-BI, or in long: SQL Server Data Tools - Business Intelligence.

From Microsoft SQL Server Data Tools:

... provides an integrated environment for database developers to carry out all their database design work for any SQL Server platform (both on and off premise) within Visual Studio. Database developers can use the SQL Server Object Explorer in VS to easily create or edit database objects and data, or execute queries.
What you'll probably want to install: Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2012

Accepted Solution

FriedTyGuy earned 2000 total points
ID: 39663791
Right click on the field and selected expression.  An expression builder pop up will get you there.  I'm assuming your using VS2012/2013 which requires SSDT to build reports for SSRS.

Author Comment

ID: 39664420
That worked!


Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This shares a stored procedure to retrieve permissions for a given user on the current database or across all databases on a server.
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.

587 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question