Solved

SSRS Expression

Posted on 2016-08-30
2
43 Views
Last Modified: 2016-08-30
I need to show text after a field in SSRS. I am able to do an "If, Then" to replace a value, but would like to show text after the standard value. This is the expression I currently have:

=IIF(Fields!ACFD_Arrival_Min.Value = 0, "First", Fields!ACFD_Arrival_Min.Value)

in addition to that I would like to add text after the "Fields!ACFD_Arrival_Min.Value" at the end of the expression that would display "After ACFD Unit" for any value greater than the "0" which will display as first.

Example below: I would like to add "After First Unit" to the numeric values in the 'ACFD Arrival Min' Column, but not after "First" value in the expression, that will just remain "First".

Sample Data
0
Comment
Question by:srodgers45
2 Comments
 
LVL 34

Accepted Solution

by:
Brian Crowe earned 500 total points
ID: 41777215
Have you tried...

=IIF(Fields!ACFD_Arrival_Min.Value = 0, "First", Fields!ACFD_Arrival_Min.Value & " After First Unit")
0
 

Author Closing Comment

by:srodgers45
ID: 41777393
Thanks for the help!
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had to extract data from a Microsoft SQL Server database and export it to an Excel file, but did not want to use a DTS package? The concept in this article is not new, but it is the answer and will also work on 64-bit SQL boxes.   …
A recent question popped up and the discussion heated up regarding updating a COMMENTS (TXT) field in a table using SSRS. http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Q_27475269.html?cid=1572#a37227028 (htt…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

828 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