Bar Charts with Non-Stacked Subgroups

I'm trying to create a report in CR2008 for my elementary school principals that will display how many students received a specific grade each of the three marking periods (T1, T2, and T3) per grade level per subject area (Math, PE, etc.).  I was able to do this with a separate chart for each marking period, but would like to combine the charts into a single chart that has the grades (such as ADV, PRO, or BLB) across the bottom, and has the trimester scores as subgroups, so it looks something like this:
               3    123     23   1     1
              23    123    123   123   12
Kinder Math  123    123    123   123   123    123
             ADV    PRO+   PRO   APP   BASI   BLB
Each of the grades would have three subgroups (bars) representing the three trimesters.  The y-axis scale would be the count of students who received each grade, with the maximum value set to the total number of active students at the end of the year (plus a small fudge factor in case the T3 enrollment is smaller than the T1 or T2 enrollment).
The database (SQL Server 2005) I'm pulling from has table I'll call Grades; it's joined to a table called Students to get the grade level.  Each record in Grades has the following data in it (names have been changed to make them make more sense here, and only relevant fields are shown):
StudentID, CourseNum, Section, T1_Active, T1_Grade, T2_Active, T2_Grade, T3_Active, T3_Grade
If a student was enrolled in a specific CourseNum and Section at the end of a marking period, the XX_Active field will be "A"; if it's not, it should be skipped in the counting.  Because of this it is very possible that the count for a specific grade/trimester is zero, especially at the outliers (ADV and BLB).
In Chart Expert >> Data >> Advanced, the current charts are set up using:
On change of Grade.T1_Grade
Show value(s): Count of Grade.T1_Grade
(Substitute T2 or T3 for the second and third charts.)  Unfortunately, I have no clue what to choose for these values to get a combined chart.
My questions:
1) Does CR support bar graphs with subgroups that aren't stacked?  Does it support having three subgroups?
2a) If so, what would be my next step to making this work?  Is the secret in running totals, formulas, arrays, or something else?  Maybe creating a view in the database that rearranges the data to make it easier to work with?
2b) If CR doesn't support this directly, would it be worth while to fake it with six separate bar charts u2013 a chart just for ADV next to a chart just for PRO+, etc. u2013 or would the performance penalty be too much?  Would I need to have them each in their own subreport, or could they all live on the same level?  Is this the way I'd need to go if I also wanted to put trend lines over or above each letter grade group?
Thank you in advance for any pointers you can give me.
Jim
Edited by: jimsteph on Jul 8, 2010 2:33 PM

If you can create a view, that would be very helpful, by making the view, you are pushing some of the work to the
server, so... "Hopefully" the report will be quicker. I don't think making six seperate charts would be all that much load on the
server, or cr. If you do that, would you stack the charts? and just make the top stacks with Transparent backgrounds?
Rather than add a view on the server u2013 there's talk that the next version of the gradebook program will completely refactor the database u2013 I did a SQL Command (I can't remember where I read about that tip over the last couple of feverish days, but my hat's off and I owe someone a frosty adult beverage!) that created a simplified table.  I then used that to create a Cross-Tab (my original report approximated one using a whole bunch of Running Totals).
I then tried to make the chart, and got completely frustrated u2013 again u2013 until I accidentally created a chart from the Cross-Tab (right-click on the Cross-Tab and choose Insert Chart ).  I had no idea you could do that, and it ended up being exactly what I wanted.
I have CRXI, if you go to the Sample reports, you will see one called Chart.rpt, this has multiple examples of some of the
charts you can create. Perhaps a 3D riser chart would meet your requirements. HTH If not, can you provide some different samples?
I would have never thought to look for the samples.  Thank you!  Now that I've got my immediate problem solved it's time to look at the samples and see what possibilities exist for future reports.
Jim

Similar Messages

  • Stacked bar chart with single group

    Post Author: rt50896
    CA Forum: Charts and Graphs
    Dear all,   I have a question about stacked bar chart with one group value(normally more than one group value is ok)   ex. YYYYMM      PRODUCT    AMT        -
            200601          ABC            1000        200602          ABC              300        200603          ABC              500       .....   the data collection is as above,then chart display: x-axis as YYYYMM,y-axis as PRODUCT...   but why this case the bar chart color not the same for each YYYYMM? and legend not display one PRODUCT as ABC only?   the bar chart display like this:   http://tkfiles.storage.live.com/y1po30C7CH6eW9phoLAXH89MBGwFLYdEZ3kOMQXUQzDzwM-VNnffibEwqPI8TIUNBm1f7uKTjnkaOI   ps. crystal report version is 8.5Regina

    Thanks, Jeff. I did try this but for whatever reason it doesn't make a difference. I think it is because if there's no data for a given series for a certain week, there is no entry in the data set that is sent to AnyChart.
    I was able to get around the issue by "filling in" the missing weeks from each data series. To generate the list of "Week Of" dates for a given date range, I used this code:
    select
         trunc (each_day) as week_of,
         0 as effort
    from (
         select
              (to_date(:p920_start_date,:app_date_format) + 2 - to_char(to_date(:p920_start_date,:app_date_format),'D') - 1) + level each_day
         from dual
         connect by level <= to_date(:p920_end_date,:app_date_format) - to_date(:p920_start_date,:app_date_format) + 1
    where
         to_char (each_day, 'D') = '2'This creates an effort entry of 0 for each week within the date range; I use the Monday date of a week as the "Week Of" date. I then union this with my actual data and summarize by week and viola, I get the weeks in order. This also has the benefit of showing a week for which there are no entries in any of the three series.
    Thanks for taking a look at this.
    Mike

  • Stacked Bar Chart with Multiple Series Sort Question

    Hi,
    Apex version 4.1.1
    I have a stacked bar chart with three separate series, one showing customer effort, another showing project effort and the third showing other effort, summarized by calendar week. The x-axis of the chart is the calendar "week of" date, and the y-axis has a bar for each of the three series. Not every type of effort occurs every week.
    When AnyChart renders the chart, the order of entries on the x-axis seems to be dependent both on which series are present in a given week as well as the "week of" date. Weeks with all three series sort in order by calendar date, followed by weeks where just the 2nd & 3rd series are present, followed by weeks where just the 3rd series is present. See this [url http://tinypic.com/r/b9zdt/6] picture of the chart  noting the "week of" dates. Note that the months go Sep-Oct-Nov-Aug-Oct.
    Is there a way to force AnyChart to sort the x-axis in chronological order regardless of whether there is data for all three series for a given week? I have looked through the AnyChart XML reference but cannot find a way to do this.
    Incidentally, I can solve the sorting problem by combining all three series into a single query:
    select
      null as link,
      week_of as label,
      sum(customer_effort) as "Customer Effort",
      sum(project_effort) as "Project Effort",
      sum(other_effort) as "Training, Admin and Other Effort"
    from ...But if I do this, I cannot figure out how to have each bar on a given week link to a different detail page, e.g., if I click on a bar representing customer effort I want to link to one page, but if I click on a bar representing project effort, I want to link to a different page. I have had a look at the [url http://apex.oracle.com/pls/apex/f?p=36648:59:1570983160946101::NO:::] chart examples  posted on apex.oracle.com, but cannot figure out how to apply to multiple series in a single query.
    Thanks,
    Mike

    Thanks, Jeff. I did try this but for whatever reason it doesn't make a difference. I think it is because if there's no data for a given series for a certain week, there is no entry in the data set that is sent to AnyChart.
    I was able to get around the issue by "filling in" the missing weeks from each data series. To generate the list of "Week Of" dates for a given date range, I used this code:
    select
         trunc (each_day) as week_of,
         0 as effort
    from (
         select
              (to_date(:p920_start_date,:app_date_format) + 2 - to_char(to_date(:p920_start_date,:app_date_format),'D') - 1) + level each_day
         from dual
         connect by level <= to_date(:p920_end_date,:app_date_format) - to_date(:p920_start_date,:app_date_format) + 1
    where
         to_char (each_day, 'D') = '2'This creates an effort entry of 0 for each week within the date range; I use the Monday date of a week as the "Week Of" date. I then union this with my actual data and summarize by week and viola, I get the weeks in order. This also has the benefit of showing a week for which there are no entries in any of the three series.
    Thanks for taking a look at this.
    Mike

  • Using a Stacked Bar Chart With an Accordian Menu

    I am having difficulty using a stacked bar chart with an accordian menu. I am able to have one stack bar populate but the other four stays blank. There seems to be an issue with my destination. I dont think it likes that my destination is more than one row and one column. Is there a way to fix this?

    Hello,
    I think there may be an issue in how your model/Accordion Menu was configured.  What insert option are you using?  Your destination should only be 'one' row OR 'one' column at the most.
    Thanks,
    AJ

  • Numbers Charts:  Stacked bar chart with two sets of data

    Hi....newbie with first post
    I'm trying to create a stacked bar chart with two lots of comparative data.
    So, there is Basic + Overtime for April 2010 as one stack (ie the basic is one colour, stacked on top is the overtime in a different colour)
                      Basic + Overtime for April 2011 next to it.
    I can get April figures next to one another as four separate columns (2 x basic, 2 x overtime), or I can get all four figures in a single stack, but I can't to two columns (one for each year) of basic and overtime.
    Any ideas?

    UK,
    What you are trying to do will require that you interleave the two sets of two-series data into one longer two-set series, and then plot just the one pair of series. Clear as mud?
    What I'm saying is that you have to fake out the program into thinking that you have just two sets, not four.
    You will have one series that has, for instance Apr 2010 Basic, Apr 2011 Basic, May, 2010 Basic, May 2011 Basic, etc.. This other series in that chart will have Apr 2010 Overtime, Apr 2011 Overtime, May 2010 Overtime, May 2011 Overtime, etc.
    The bad thing here (I'll anticipate your first complaint) is that 2010 and 2011 data will have the same color for Basic and another color will be assigned for both 2010 Overtime and 2011 Overtime.
    To get separate color sets for 2010 and 2011 data pairs, you will have to create two charts and overlay them. Both charts would be built in the alternating year format described above, but in one chart all the 2010 data would be blank and in the other chart all the 2011 data would be blank, leaving spaces in the chart for the data from the other chart to nest in.
    Jerry

  • Bex Analyser: Bar chart with limit or average line, is it possible?

    Hi everyone.
    I have a short question:
    Do you know if it is possible to combine different chart types in the Bex Analyser?
    I would like to have a bar chart providing monthly values and in the same chart a line showing 1) a fixed limit and 2) another line showing an accumulated moving average.
    I have the values as source available, however I can't figure out how to combine the bar charts with a line chart in the same graph.
    Does anybody know if this is possible?
    Thanks,
    Nana

    Nana ,
    it is possible to have a Bex Chart of mixed type , you can choose the type of display for each series
    As for fixed line - you will need to have the values supplied by query
    As for moving average , that too needs to come from the query. The IGS service which renders the chart is something similar to Excel - the display options can be changed but nothing more that what is in the data table.
    Arun
    P.S Assigning points is a way of saying thank you in SDN

  • Non-stacked bar chart with subgroups

    I want to create a regular bar chart (non-stacked) and display subgroups on the x-axis ..... that is, for each group on the x-axis I want to display multiple sub-groups within the major groups ..... I saw only one post regarding this but tried what I thought they were saying but it did not work ..... also I do not want to create a stacked chart, just a regular non-stacked chart
    thank you very much
                           subgrp1   subgrp2                          subgrp1      subgrp2                   subgrp1     subgrp2
    x axis  -
                                   group 1                                         group 2                                       group 3

    Please add the solution how did you resolve this issue to this forum
    Thaknks
    -p

  • Stacked Bar Chart with data from a Web Service

    Hi,
    I'm working on Dashboard Design (version 14.0.1.287) and I'm trying to create a chart linked to data from a webservice.
    With a Year in input, my webservice gives an Amount per Cities and Products
    Data retrieved look like this (Sheet1) :
    Paris          Tablets          45
    Paris          Laptops          12
    Paris          Cellulars          89
    New-York     Tablets          56
    New-York     Laptops          36
    New-York     Cellulars          1
    Londres          Tablets          150
    Londres          Laptops          3
    Londres          Cellulars          45
    Then I use a Pivot Table (created manually in Excel) looking like this (Sheet2) :
                   Tablets     Laptops     Cellulars
    Paris          45          12          89
    New-York     56          36          1
    Londres          150          3          45
    The chart is a Stacked Bar Chart plugged on the previous Pivot Table
    I create 3 series (one per Product), values (X) are set with Amount
    Category labels (Y) are set with Cities
    The goal is to have a dynamic chart (series and categories must update if a new city or a new product appears)
    So my question is : how can I set up the chart directly with data retrieved from webservice on Sheet1?
    Thx a lot !
    Nicolas
    Edited by: nicolasheurtevin on Sep 14, 2011 4:58 PM

    hi
    First thing , bad news if you are using .Net framework 1,
    just forget it, Flex 2 doesn't work well with framework 1, but 2nd,
    good news, if you want to use webservices, you'll have to make an
    array of objects on .Net Side and send it as objects to flex, i saw
    an example on the net but i can't seem to remember where, on the
    other hand,if you want to simply use, like i do, HTTPSERVICE its a
    very nice way to talk with .Net and you can see my example here
    http://flex1-for-dummies.blogspot.com
    By the way, in your code, you have a request tag , but you
    aren't requesting anything, because if you were you would have to
    make like this
    <mx:request>
    <Artist>{yourinputtext.text}</Artist>
    </mx:request>
    So if you don't have an input text, you don't need a request
    tag, only the operation.

  • Stacked bar chart with percentage in Xcelsius

    Hi,
    I want to  create a stacked bar chart(Horizontal) for the following data
    Project 1  --- >    2140, 177,  288, 135
    Project 2  --->     856, 44, 658, 120
    For following status respectively
    Completed,      Pending ,Partially completed,  Not Started
    Project 1 and Project 2 will be on Y axis.
    I want this data to be divided in percentage.
    as shown below
    Project 1 |___135_____|___177_____|______2140_______|
    Project 2 | __44__|___120_____|________856__________|
    0              20           40 ........                          100
    How to achieve this in xcelsius?

    I don't understand why you are soying it is not possible.
    Actually I think it is and quite easily but maybe i missunderstand the question.
    But anyway, here is what I would do:
    In the spreadsheet, you can calculate the percentage of each status per project:
         Completed     Pending     Partially completed     Not Started
    Project 1     78.10%     6.46%     10.51%     4.93%
    Project 2     51.01%     2.62%     39.21%     7.15%
    And then select these data for the stacked bar chart. Here you get the graph you are looking for.
    Oli

  • Stacked bar chart with negative values

    Hi,
    trying to create a stacked bar chart I only get a grey picture. Reason: my data series provides positive and negative values.
    Can anyone tell me a trick how to fix this problem?

    User614143,
    try to add the minumm negative value (but positive) to the parameter for the axis.
    e.g. show value+3000 (assuming -3000 is the minimum value)
    If you don't have a limitation for the negative values, it doesn't work. (or try to calculate first the most negative value in a before header process)
    hope this helps.
    Leo

  • Percentage Bar chart with more than 1 measure

    Hi everbody,
    i have a new big problem.
    point of departure: i want to create a bar chart (stacked vertical) with more than 1 measure.
    Vertical axis should be from 0% to 100%. Horizontal there are diverse, let's say departments.
    Now it becomes tricky: Every department once more has its own under-departments.
    So far so good. The measure is the number of employees per under-department.
    So: in one bar you can see the complete number of employees per department AND the number of employees of one under-department in each block of this bar.
    -> That's the idea!
    Now: The whole chart should be presented in percentage.
    -> Therefore i need to divide the particular block by the complete number of employees per bar and multiply it by 100.
    My question is: How can i create a kind of dynamic variable, which adatps itself to the particular department
    Edited by: 941338 on 27.06.2012 04:53

    Looks like you need a dynamic variable to hold the value to calculate futher, for that using prompt(this should follow your criteria to get value) with prsentation variable, use the presentation variable in the report to calculate.
    If it is helpful, please mark as correct or helpful

  • Bar chart with event labels

    I am new to Numbers and am trying to figure out if there is a way to make a bar chart that only has labels for specific data points instead of labeling every single data point. (For example, I am want to make a chart of the daily closing price of a stock over the course of the last year and want to insert labels on certain points along the line that help explain why the stock increased or declined on specific days as a result of important events that occurred (something bad happened on March 2nd and stock went way down, something great happened on June 12th and stock went way up...)) Thanks!

    Fundude,
    Welcome to Apple Discussions and the Numbers '09 forum.
    Value labels created by the chart show the value producing that bar, and are applied to every bar (or to none). Labels on the Category axis (the X axis for vertical bars) are collected from the header column (for data tables with the series listed vertically), and applied to every bar, every second bar, every third bar, etc. depending on how many can fit in the allotted space.
    To apply labels to individual bars of your choice, use a Text box for each label. Be aware that if you add to the chart the text boxes will not automatically move to accomodate changes in the positions or lengths of the existing bars.
    Regards,
    Barry

  • Bar chart with current date in X axis

    Hello
    I have attached a vi that I hoipe somebody can help with.
    If you look at the vi, there are two bars showing.
    1.How can I attach the current date to the X axis.
    For instance.....suppose the first bar (far left) was produced with data from yesterday...then the X axis would indicate yesterdays date.
    The next bar was produced from data obtained today, so would show todays date.....etc
    An array of dates is not suitable, as no prior date knowledge is assumed......just the current date when the bar was graphed.
    2. Can the date be vertical....or even fancier....on a 45 degree slope, upwards and to the right
    Thank you and best regards
    Ray
    Solved!
    Go to Solution.
    Attachments:
    Bar chart.vi ‏16 KB

    Hi, this will plot what ever data you got with the current date on the X Axis. But remember that since this is a graph, any new value plotted will erase the previous one. Dont have LabVIEW 9 otherwise would have checked your VI out. This plots each value with the current date.
    LabVIEW 8.2,8.6,2009...still learning
    Attachments:
    Date Plot.png ‏16 KB

  • Had a hard time setting up a bar chart with date value

    Just wanted to achieve this simple chart with a date value instead of text string or numbers, which is quite simple to achieve in Excel see screenshot.
    With flex 4, here's my code snippet, what do I missed? Please give me a hand, thanks  alot.
      [Bindable]
       private var scheduledata:ArrayList = new ArrayList([
        {name: "ward1", meeting: "1/1/2008", seminar: "8/12/2008"},    
        {name: "ward2", meeting: "2/1/2009", seminar: "9/24/2009"},
        {name: "ward3", meeting:"3/1/2011",  seminar: "10/30/2011"}
      <mx:BarChart id="bar" height="100%"
          showDataTips="true" dataProvider="{scheduledata}">
       <mx:verticalAxis>
        <mx:CategoryAxis categoryField="name"/>
       </mx:verticalAxis>
       <mx:series>
        <mx:BarSeries yField="name" xField="meeting" displayName="meeting" />
        <mx:BarSeries yField="name" xField="seminar" displayName="seminar"/>
       </mx:series>
      </mx:BarChart>

    Thank you all for those who tried to help. I figured it out by picking it up from (http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf65a29-7ffb.html). Just need to add a DateTimeAxis to it! Though there's bug to it that the datetimeaxis format will only display mm/yy regardless you chose Days, Weeks or Months. Somehow I will need to tackle that. 
    <mx:horizontalAxis>
    <mx:DateTimeAxis dataUnits="Days""/>
    </mx:horizontalAxis>

  • Bar chart with hyperlink values in X-Axis in XIR2

    Hi folks,
    I am trying to create a bar chart which shows values for 2 measures using one dimension in the X-axis. I want an hyperlink associated with the values in the X-axis because I want to implement the ability of drilling through to another report when I click any of those values. That second report will show information filtered by the value of the dimension I clicked on.
    I was reading a bit about it and it looks like it is not possible. The workaround provided was to make a table aside the chart and implement that behaviour in the table, not in the chart.
    Anyone of you could confirm this? Any of you has another ideas?
    Thanks a million
    J. Russell

    Hi Arif,
    That is one of the work-arounds I have in mind.
    Thanks for your answer
    J. Russell
    Edited by: John Russell on Aug 26, 2009 10:59 AM

Maybe you are looking for

  • Embedded Attachments in BI Publisher Report

    Is it possible to embed attachments (like other Word docs, etc.) into a BI Publisher Report?  When viewing the report as PDF for example, the user would be able to double-click the attachment and open it up in the native client.  If it is possible, h

  • Automatic deduction of amt while paying vendor

    <b>Hi SAP Gurus, I am trying to post 100/= using f-53 for a particular vendor. In the next screen for partial payment I m finding at the right bottom field as below, Amt Entered: 100/= Assigned : 99/= Non Assigned : 1/= While the WHT tab is showing t

  • Skype 7.0 stopped working-crashes

    Everytime I log into my skype account it crashes. I've tried uninstalling it and everything. Faulting application name: Skype.exe, version: 7.0.59.102, time stamp: 0x54899248 Faulting module name: Flash.ocx, version: 16.0.0.257, time stamp: 0x54927c2

  • All u java gurus -please help me with my DAEMONS

    I had already posted one query regarding the same but due to some unsatisfactory answers I am forced to ask the same question. JUST TELL ME HOW TO WRITE DAEMONS IN JAVA- REST I WILL MANAGE heres my problem: I have to make a java program to backup and

  • External cd dvd burner drive

    Would i be able to use a external cd drive on my mac? also will it work if i boot up in windows xp would windows recognize it also thanks