all groups > sql server reporting services > january 2005 >
You're in the

sql server reporting services

group:

Expressions not working if Matrix cell is not populated by dataset


Expressions not working if Matrix cell is not populated by dataset simonb
1/20/2005 10:45:04 PM
sql server reporting services:
Hi

I'm using the following expression for the BackGroundColor in a matrix
detail cell:
=IIF(Fields!ID_Quarter.Value = "Cumulative", "Gainsboro","Transparent")
This is checking the value of another cell before setting the
BackGroundColor value.

I'm also using an expression for the bottom border style:
=IIF(Fields!ID_Quarter.Value = "Cumulative", "Solid","Dotted")
This is checking the value of the same cell that the BackGroundColor
expression checks.

These expression ONLY work if the cell has been populated from the dataset
(in my matrix some cells don't have a value - this is expected).

My Cell has three expressions all up, the remaining expression checks it's
own value for nothing and then put's a "0" in the cell if true.
=IIF(Fields!Deep_SSI.Value = Nothing,"0",Sum(Fields!Deep_SSI.Value))
This expression always works.

Is there a problem with using more than one expression on a cell?? I think
not because they all work fine if the cell is populated.

Any thoughts?

RE: Expressions not working if Matrix cell is not populated by dataset simonb
2/6/2005 10:55:01 PM
Hello...

RE: Expressions not working if Matrix cell is not populated by dataset!

Has anyone got any clues on this problem?

Simon

[quoted text, click to view]
AddThis Social Bookmark Button