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

Help Sorting Multiple Column Totals

$
0
0

All,

I have a requirement to sort column totals in a my matrix report that has a list of customers on row, two column groups (year and quarter) with column total, and total sales. My sort expression is defined on the (Row Group)->Properties->Sorting Tab as =SUM(Fields!SalesAmount.Value) Z-A. SSRS 2008 R2 does sort except that for multiple years for example (2011 & 2012 in which case I will have two column totals: 2011 totals & 2012 totals) the column total sorts the data alternating between the years Z-A. So for example if all the 2011 sales totals are larger than 2012 sales totals the data sorts per requirement. If some 2012 sales totals are higher than 2011 sales totals, for each row SSRS sorts those 2012 sales totals before the 2011 sales totals. My requirement is to sort the totals Z-A for each year's column total.

Any help is appreciated.


Francis, MCTS: BI 2008, MCITP: BI 2008 Stay Thirsty My Friends


Viewing all articles
Browse latest Browse all 28687

Trending Articles



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