Solved

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

Posted on 2010-11-18
1
317 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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

In this short article I will be talking about two functions in the SQL Server Reporting Services (SSRS) function stack.  Those functions are IIF() and Switch().  And I'll be showing you how easy it is to add an Else part to the Switch function. T…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now