Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Comparing tablix row and column group values

$
0
0

Hello, I have a tablix on a SSRS 2008 R2 report.  It has a list of states as the row and columns groups.  For example, the row group is on values exported from a particular state and the columns are for imports.

So, it looks something like this:

                   California        Maryland        Texas      Virginia

California

Maryland
Texas

Virginia

I don't want to include the values where the import and export state are the same.  So, California to California should be blank and have a different shading.  Same for Maryland to Maryland.  I can't figure out how to reference the row and column values.  I have tried using an expression to compare the two like this:

=iif(Fields!exportstate.Value = Fields!importstate.Value,"Gray","Transparent")

I want to gray the fields where the CA = CA, etc.  This seems to do that, but it also grays the fields where there is no data.  So in my datatset, if there is no value for Texas coming from California, there is a null in the field.  But it also seems to be grayed instead of transparent.  So this makes me think maybe the comparison above really isn't working.

I hope this makes sense - basically I just want to know if there is a way to compare Row Group values with Column Group values in a tablix control?

Any help would be greatly appreciated - thanks!

Ayesha


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>