[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Multiple Conditional Formatting in SSRS

Posted on 2009-04-06
1
Medium Priority
?
894 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

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

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
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

656 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