Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SSRS Expression

Posted on 2016-08-30
2
Medium Priority
?
61 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 2000 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

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…
Introduction In the following article I’ll be discussing and demonstrating several different ways of how images can be put on a report. I’m using SQL Server Reporting Services 2008 R2 CTP, more precisely version 10.50.1352.12, but the methods ex…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

972 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