?
Solved

Multiple Conditional Formatting in SSRS

Posted on 2009-04-06
1
Medium Priority
?
892 Views
Last Modified: 2012-05-06
I have a report in SQL Server Reporting Services 2005. I already have this condition set in the COLOR property. It is checking the field called "SalesRep".

=iif(Fields!SalesRep.Value = ".Bluebird - (New Client)", "Blue", "Black")

I now need to check another field called "Status", and if the status is RESCHEDULED I want to make the row Green. How would I make this expression work?
=iif(Fields!SalesRep.Value = ".Bluebird - (New Client)", "Blue", "Black")
=iif(Fields!Status.Value = "Rescheduled", "Green", "Black")
0
Comment
Question by:pzozulka
[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
1 Comment
 
LVL 16

Accepted Solution

by:
Auric1983 earned 2000 total points
ID: 24079866
Assuming because you're setting the row colour one would take precidence over the other?
This would check if its a new client, if yes the row will be blue, otherwise it will check for a rescheduled entry and be green... finally if its neither it will be black.

=iif(Fields!SalesRep.Value = ".Bluebird - (New Client)", "Blue", iif(Fields!Status.Value = "Rescheduled", "Green", "Black") )

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I have a large data set and a SSIS package. How can I load this file in multi threading?
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

771 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