Solved

In SSRS 2008, How do I build an expression in a Matrix-Tablix, Fill section?

Posted on 2010-11-18
1
320 Views
Last Modified: 2012-05-10
This is what I have so far.
=Switch(col A <0, "Orange", col B = 0,  "Red")

In a Matrix Tablix Fill  I need the full expression to:

(If col A is < 0 then row is orange
If col B = 0 then row is  red
If neither above apply then row is  transparent
If both apply Col B then row is red)
0
Comment
Question by:rhservan
1 Comment
 
LVL 13

Accepted Solution

by:
devlab2012 earned 500 total points
ID: 34163854
use it like this:

switch (co A >= 0 and col B <> 0, "transparent",
col A < 0 and col B = 0, "red",
col A < 0, "orange",
col B = 0, "red")
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SSRS 2008 r2 - finding the selection Screen 3 124
SSRS String Manipulation 6 44
SSRS  - Dropdown with Null 3 25
SSRS 2016 KPI 2 15
Written by Valentino Vranken. A while ago I wrote an article called Chart Optimization Tips (http://www.experts-exchange.com/articles/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Chart-Optimization-Tips.html).  This article explained how …
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 censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

770 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