Solved

SSRS Expression

Posted on 2016-08-30
2
48 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

In this short article I will be talking about two functions in the SQL Server Reporting Services (SSRS) function stack.  Those functions are IIF() and Switch().  And I'll be showing you how easy it is to add an Else part to the Switch function. T…
Introduction As you'll probably know, a data region in a SQL Server Reporting Services report can be linked to only one dataset.  This makes it troublesome when you need to display data from more than one dataset in the same data region.  SQL Serve…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

734 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