Solved

Conditional Formating in SSRS resport.

Posted on 2010-11-29
2
362 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
[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
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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

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
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

631 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