Solved

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

Posted on 2010-11-18
1
318 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

A recent question popped up and the discussion heated up regarding updating a COMMENTS (TXT) field in a table using SSRS. http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Q_27475269.html?cid=1572#a37227028 (htt…
A recent questions about how to add SSRS named instances, couldn't find any that talks about SQL server 2008, anyway I decided to help by creating some screen shots. The installation is straightforward, you just pop the SQL server 2008 installati…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

911 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

17 Experts available now in Live!

Get 1:1 Help Now