Quantcast
Viewing all articles
Browse latest Browse all 10045

How to calculate Region totals / person

I created an SSRS 2008 bar chart that graphs "Total LOS" (Values) vs. "Region" (Series Group) via "actual date" (Category Group).

Sample data looks like:

region	    total_los	actual_date	client_name
Middle TN	30	2013-06-15 14:35:00.000	Allred, Tyler 
Middle TN	30	2013-06-15 14:35:00.000	Allred, Tyler 
Middle TN	30	2013-06-16 13:55:00.000	Allred, Tyler 
Middle TN	30	2013-06-16 13:55:00.000	Allred, Tyler 
Middle TN	12	2013-06-07 14:00:00.000	Ashley, Robert 
West TN	    -6	2013-06-21 08:00:00.000	Baker, Brandon 
West TN	    -6	2013-06-25 10:05:00.000	Baker, Brandon 
West TN	    -6	2013-06-28 08:00:00.000	Baker, Brandon 
East TN	30	2013-06-04 18:00:00.000	Ballard, Skyler ricky
East TN	30	2013-06-07 09:30:00.000	Ballard, Skyler ricky
East TN	30	2013-06-11 09:30:00.000	Ballard, Skyler ricky
East TN	30	2013-06-13 10:45:00.000	Ballard, Skyler ricky
East TN	30	2013-06-17 15:30:00.000	Ballard, Skyler ricky
East TN	30	2013-06-19 15:00:00.000	Ballard, Skyler ricky
East TN	30	2013-06-25 15:00:00.000	Ballard, Skyler ricky
East TN	30	2013-06-27 21:00:00.000	Ballard, Skyler ricky
East TN	30	2013-06-13 12:39:00.000	Banfield, Christopher 


The problem is that now when I graph this, it plots the total LOS by summing up total LOS / date regardless of client_name.  I want 3 regions plotted as separate series.  This part works correctly.  But instead of total LOS / date, I want calculated value to appear / date.  For example, I want one data value for "Allred, Tylor" plotted as 30 instead of 120.  How do I do this?  Currently the expression for my Values is "sum(total_los)"



Ryan D


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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