Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...This site is awesome!...Things I have been trying to figure out for weeks, I got the answer in hours!..."

Geography

Where in the world do Tek-Tips members come from?
kernal (TechnicalUser)
30 Apr 12 14:18
I have a grouping Age and then Fiscal Year but the sorting is not correct on the bar chart and the only thing I can figure is because there is no data for ages 12 and under in fiscal year 2009-2010. There are data for ages 12 and under in fy 2010-2011 and all of the other age groups has data for both fiscal years.

I have the bar chart on change of age group then fiscal year group.

AGE GROUP sorted in ascending order

if
age<=12
then
'12 and under'

else if
age in 13 to 18
then
'13 to 18'

else if
age in 19 to 49
then
'19 to 49'

else if
age>=50
then
'50 and over'

FISCAL YEAR GROUP sorted in ascending order

if add_date in date(2009,07,01) to date(2010,06,30)
then
'2009-2010'
else if
add_date in date(2010,07,01) to date(2011,06,30)
then
'2010-2011'

AGE RESULTS

12 and under
no data for fy 2009-2010
1 for fy 2010-2011

13 to 18
100 for fy 2009-2010
106 for fy 2010-2011

etc.

PROBLEM

My bar chart shows the ages 12 and under for fy 2010-2011 as 1; ages 13 to 18 and other groups are showing 2010-2011 first so for ages 13 to 18, the first bar has 106 then the second bar 100 for this age group.

I need the first bar to have the fy 2009-2010 data then the second bar to have the 2010-2011 data.

I hope I gave enough information. Help is very appreciated.

thank you
 

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close