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

Compare Values in Two Colum Groups in a Matrix

$
0
0

Hi All,

I'm trying to see if it's possible to compare two values that are in two different column groupings in a single matrix.  I have a column group of quarter within a matrix that is a child group of year; adjacent to this group, I have another group of quarter that is a child group of year.  The idea here is that I have two years (2015 and 2016) along with their quarters shown, then right next to it, I have a better/worse section that compares q1 of 2015 with q1 of 2016, q2 of 2015 with q2 of 2016, etc.  The target output would look like this:

In the example the first group of year and its child group of quarter encompasses 2015 and 2016; the adjacent group for year and quarter starts in column N.

Columns M, N, O, and P are what I'm after.  I've tried a few expressions and even some custom code that would compare columns, however it's not working.

Any help will be appreciated.

Thank you.


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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