Solved

Conditional Formating in SSRS resport.

Posted on 2010-11-29
2
355 Views
Last Modified: 2012-05-10
How do you write conditional formating where you have a value within a range?  Say you want the color to be orange if the number is between 0.80 and 1.09

This is what I have

=SWITCH(Fields!Total_Point.Value <= 0.80,"#ccffff",
Fields!Total_Point.Value > 0.81,"Orange",
Fields!Total_Point.Value <= 40,"Black",
Fields!Total_Point.Value > 40,"Red")

Thanks
0
Comment
Question by:NickMalloy
2 Comments
 
LVL 10

Accepted Solution

by:
hosneylk earned 250 total points
ID: 34236112
have you tried this?
Fields!Total_Point.Value > 0.80 And Fields!Total_Point.Value < 1.09

Open in new window

0
 
LVL 69

Expert Comment

by:Scott Pletcher
ID: 34241699
IIf.  The first is true value, the second is false value ... but the false value can also be another IIf :-) .

IIf(Fields!Total_Point.Value <= 0.80, "<color name>/value",
IIf(Fields!Total_Point.Value > 0.81 AND Fields!Total_Point.Value < <_value_>,"Orange",
IIf(Fields!Total_Point.Value <= 40,"Black",  ... )))...
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Slow Connectivity over ODBC 8 38
sql server insert 12 30
Can > be used for a Text field 6 51
sql server service accounts 4 27
Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

831 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