Solved

SSRS Expression

Posted on 2016-08-30
2
30 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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: This article is aimed at report developers who are used to developing reports using relational databases and have gotten a first-time assignment to develop reports on OLAP cubes. It demonstrates how to build a report using SQL Ser…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

707 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now