Line Chart DrillDown Functionality

Is it possible to do drill down in Line Chart on Date feild?..If any one did before please share with me your experience.
or if have any blogs on that do let me know.
Thanks in Advance
Chi
Edited by: chir0n on Feb 3, 2010 11:42 AM

Hi Gaston,
Take the reference of these blog posts.
Filtering Through Combo Box
Source Data Component Usage
Drill down Made Easy
If there is still an issue achieving it, let us know.
Most probably the second link here should solve the issue.
Regards,
Sara

Similar Messages

  • Line Charts - X-axis Labels as function of X-axis value

    Hi,
    1) Is there a way to put X-Axis labels in line chart as function of X-axis values ?
    For instance, X-axis values are in minutes and I need to show those as Hours.
    I'm having Hours as separate column as well, but when its selected as X-axis value column, the line graph is disturbed.
    2) Also, how to specify the length/range of X-axis ?
    For instance, in dataset if I've x-axis values from 0 to 5 hours but still want to show on graph the X-axis till 8 hours.
    Thanks for your help in advance.
    Regards,
    Sumit

    Hi Sumit,
    I have tried following things with proper datetime format may be help you.
    1> in your applet code you can add below param
    <PARAM NAME="XAxisDateFormat" VALUE="H">
    it will display your levels in hours for more details please refer Date and Time Format under query template in MII help.
    2>In your Query template under date range you can select duration and duration unit.
    for 8 hour span you can select Duration = 8 and in duration unit = H
    I have tested it for a tag query, may be i did not understand your issue properly but hope it helps you!!!
    Regards,
    Manoj Bilthare

  • How to draw a simple line chart using GRAPH_MATRIX_2D function

    Hello,
    can anyone help me with that function please,
    i couldn't draw a line graph with three data series, i mean with three lines in the graph.
    i want to the chart to be drawn as line graph at the beginning, i shouldn't have to change the chart type later,
    can anybody send me a sample code that does what i want.
    i am expecting your answers,
    thanks.
    Note: all answers will be pointed.

    Hi Ali,
    please refer to my reply [here|Re: drawing 2d line chart problem, urgent please!!!] and skip this thread. This is a copy of the other request.
    Regards
    Matthias

  • How to use custom function for formatting the Line Chart Axes?

    Hi...
    I'm using a Line chart who's y axis value range from 0 to 50000. This is a number which it gets from it's dataProvider. I want to format this and show it as
    $50,000
    $40,000
    $30,000
    $20,000
    $10,000
    $0
    instead of
    50000
    40000
    30000
    20000
    10000
    0
    Here's my linechart code:
    <mx:LineChart id="revTimeLineChart"
                width="100%" height="100%"
                showDataTips="true" >
                <mx:horizontalAxis>
                   <mx:CategoryAxis id="lcCatAxis" categoryField="name"/>
                </mx:horizontalAxis>
                <mx:series>
                   <mx:LineSeries id="ls" yField="revenue" displayName="Revenue" showDataEffect="{slideIn}"/>      (yField is what I want to format....)
                </mx:series>
    </mx:LineChart>
    Can you please let me know how can this be achieved?
    Cheers!
    Deepak

    Hi,
    You could do something like this,
    http://www.codersrevolution.com/index.cfm/2008/10/14/Flex-Charting-Format-your-X-and-Y-Axi s
    hope it helps!
    Regards ,
    Bhavika

  • Drilldown on line chart w/3 series to 3 different pie charts w/ DV

    Hello experts,
        My situation is the following. I have a Line chart representing sales on 3 different series(actual, budget and last year) along the 12 months. Then 3 different pie chart that link the office sales of each serie and each month. I successfully linked the drill down data, but I can't make it workout the dynamic visibility everytime you select a different serie on the line chart, because of the common issue of the insertion that doesn't clear the previous selection when you make another one. I'll attach the xlf file as a txt. Hope you can make it work.
    Thanks a lot
    Gaston Bigi

    Hi Gaston,
    Take the reference of these blog posts.
    Filtering Through Combo Box
    Source Data Component Usage
    Drill down Made Easy
    If there is still an issue achieving it, let us know.
    Most probably the second link here should solve the issue.
    Regards,
    Sara

  • What is the best way to create a SSRS 2005 Line Chart Report for a 12 month period?

    I'm looking for advice on how to create a SQL Server 2005 query and line chart report for SSRS 2005.
    I need to display the peak number of patients assigned to a medical practice each month for a 12 month period based on the end-user selecting a
    single month and year.
    I've previously created a report that displays all patients assigned to the practice for any single month but I’m looking for advice on how to
    how to produce a resultset that shows the peak number of patients each month for a 12 month period. I thought about creating a query that returns the peak count for each month (based on my previously created report which displays all patients assigned to the
    practice for any single month) and then use a UNION statement to join all 12 months but I'm sure that isn't the most efficient way to do this. The other challenge with this approach (twelve resultsets combined via a UNION) is that the end-user needs to be
    able to select any month and year for the parameter and the report needs to display the 12 month period based on the month selected (the month selected would be the last month of the 12 month period).
    For the report I’ve previously created that displays all patients assigned to the practice for any single month, the WHERE statement filters the
    resultset on two fields:
    Start Date - The date the patient was assigned to the practice. This field is never null or blank.
    End Date - The date the patient left the practice. This field can be null or blank as active patients assigned to the practice do not have an End Date. When the patient
    leaves the practice, the date the patient left is populated in this field.
    Using these two fields I can return all patients assigned to the practice during Nov 2012 by looking for patients that meet the following criteria:
    start date prior to 11/30/2012 (using the last day of the month selected ensures patients added mid-month would be included)
    AND
    end date is null or blank (indicates the patient is active) OR the end date is between 11/1/2012 -11/30/2012 (returns patients that leave during the month
    selected)
    Regarding the query I need to create for the report that displays the peak count each month for 12 months, I'm looking for advice on
    how to count patients for each month the patient is assigned to the practice if the patient has been assigned for several months (which applies to most patients). Examples are:
    John Doe has a start date of 6/01/2012 and an End Date of 10/07/2012
    Sally Doe has a start date of 8/4/2012 and no End Date (the patient is still active)
    Jimmy Doe has a  start of 7/3/2012 and an End Date of 9/2/2012
    Given these examples how would I include John Doe in the peak monthly count each month for May - October, Sally Doe in the peak monthly count for
    August - December and Jimmy Doe in the peak monthly count for July – Sept if the end-user running the report selected December 2012 as the parameter?
    Given the example above and the fact I'm creating a line chart I think the best way to create this report would be a resultset that looks like
    this:
    Patient Name              
    Months Assigned
    John Doe
    June 2012
    John Doe                     
    July012
    John Doe                     
    Aug 2012
    John Doe                     
    Sept 2012
    John Doe
    Oct 2012
    Sally Doe                     
    Aug 2012
    Sally Doe                     
    Sept 2012
    Sally Doe
    Oct 2012
    Sally Doe                     
    Nov 2012
    Sally Doe
    Dec 2012
    Jimmy Doe                  
    July 2012
    Jimmy Doe
    Aug 2012
    Jimmy Doe
    Sept 2012
    From the resultset above I could create another resultset that would count\group on month and year to return the peak count for each month:
    June 2012 - 1
    July 2012 – 2
    Aug 2012 - 3
    Sept 2012 - 3
    Oct 2012 - 2
    Nov 2012 - 1
    Dec 2012 - 1
    The resultset that displays the peak count for each month would be used to create the line chart (month would be the X axis and the count would
    be the y axis).
    Does this sound like the best approach?
    If so, any advice on how to create the resultset that lists each patient and each month they were assigned to the practice would be greatly appreciated.
    I do not have permissions to create SPs or Functions within the database but I can create temp tables.
    I know how to create the peak monthly count query (derived from the query that lists each patient and month assigned) as well as the line chart.
    Any advice or help is greatly appreciated.

    Thanks for the replies. I reviewed them shortly after they were submitted but I'm also working on other projects at the same time (hence the delayed reply).
    Building a time table and doing a cross join to my original resultset gave me the desired resultset of the months assigned between dates. What I can't figure out now is how to filter months I don't want. 
    Doing a cross  join between my original resultset that had two dates:
    08/27/2010
    10/24/2011
    and a calendar table that has 24 rows (each month for a two year period)
    my new resultset looks like this:
    I need to filter the rows in yellow as the months assigned for stage 3 that started on 8/27/2010 should stop when the patient was assigned to stage 4 on 10/24/2011.
    You'll notice that Jan - Sept 2011 isn't listed for Stage 4 assigned on 10/24/2011 as I included a filter in the WHERE clause that states
    the Months Assigned value must be greater than or equal to the date assigned value.
    Any advice would be appreciated.

  • Using Repeater to generate dynamic line charts

    I have a call to a webservice that returns an array of
    arrays. The outside array relates to the "YEAR", and the inside
    arrays have 1 element for each "MONTH". I want to create a line
    chart that has a line for each year, with the x-axis having months
    across the bottom.
    I can create this just fine by coding the appropriate number
    of mx:LineSeries tags in my code.
    However, I have a case where the data that I get back from
    the webservice could have up to 5 years (I'm only coding for 3).
    So, I'd like to find a way to dynamically generate an mx:LineSeries
    instance for each one of these years. I can't seem to get this to
    work with using a Repeater.
    This code isn't mine (got it from the docs), but it matches
    with what i'm trying to do exactly:
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml">
    <mx:Script><![CDATA[
    import mx.charts.events.ChartItemEvent;
    import mx.collections.ArrayCollection;
    [Bindable]
    public var expenses_2005:ArrayCollection = new
    ArrayCollection([
    {Year: 2005, Expense: "Taxes", Amount: 2000},
    {Year: 2005, Expense: "Gas", Amount: 100},
    {Year: 2005, Expense: "Food", Amount: 200}
    [Bindable]
    public var expenses_2006:ArrayCollection = new
    ArrayCollection([
    {Year: 2006, Expense: "Taxes", Amount: 2500},
    {Year: 2006, Expense: "Gas", Amount: 400},
    {Year: 2006, Expense: "Food", Amount: 300}
    [Bindable]
    public var expenses:ArrayCollection = new ArrayCollection([
    expenses_2005,
    expenses_2006
    ]]></mx:Script>
    <mx:LineChart dataProvider="{expenses}"
    showDataTips="true">
    <mx:horizontalAxis>
    <mx:CategoryAxis dataProvider="{expenses.getItemAt(0)}"
    categoryField="Expense" title="Expense"/>
    </mx:horizontalAxis>
    <mx:verticalAxis>
    <mx:LinearAxis displayName="Amount"/>
    </mx:verticalAxis>
    <mx:series>
    <mx:LineSeries xField="Expense" yField="Amount"
    displayName="2005" dataProvider="{expenses.getItemAt(0)}"/>
    <mx:LineSeries xField="Expense" yField="Amount"
    displayName="2006" dataProvider="{expenses.getItemAt(1)}"/>
    </mx:series>
    </mx:LineChart>
    </mx:Application>
    How can I now change this to dynamically build the necessary
    numbers of LineSeries?

    Hi jsevlie,
    What I usually do in this case is to create multiple
    LineSeries objects in ActionScript as soon as I get in the data.
    Here is some code to get you started:
    private var theChart:ColumnChart = new ColumnChart;
    function drawGraph(){
    this.theChart.dataProvider = this.theData;
    var ctgAxis:CategoryAxis = new CategoryAxis();
    ctgAxis.dataProvider = this.theData;
    ctgAxis.categoryField = "0";
    this.theChart.horizontalAxis = ctgAxis;
    var series:Array = new Array();
    for(var i:int=0; i < this.columnSpan; i++){
    var colSeries:ColumnSeries = new ColumnSeries();
    colSeries.yField = String(i+1);
    if(i==0){
    colSeries.displayName = "Revenue";
    colorSrs(colSeries, 0x3F48F3);
    else if(i==1){
    colSeries.displayName = "Profit";
    colorSrs(colSeries, 0xE9C836);
    else{
    colSeries.displayName = "Cost";
    colorSrs(colSeries, 0x6FB35F);
    series
    = colSeries;
    this.theChart.series = series;

  • Drill Down for Multiple Series in a Line Chart

    Hello,
    I seem to have a problem with the drill-down functionality in a line chart that has multiple series.
    I have a line chart that displays the readings of a patient over a period of 1 month. For each day, there is the glucose level reading, blood pressure reading, etc... So, each reading is a different series in my line chart graph.
    The basic requirement is: With a mouse over event on the chart, I am willing to display all the data that belongs to that day. The data will be displayed at the bottom of the screen in a small panel. It is very simple to do it when the line chart has only 1 series:
    i) Enable drill down.
    ii) Choose 'Row' as insertion type.
    iii) Fill out the destination field.
    iv) Make sure your labels (at the bottom of the screen) get the data from the destination cell.
    When there is more than one series, it becomes very difficult. XCelsius will not let me use the same destination cells for different series. So, I will have to use other destination cells. In that case, I will not know on which day is the user on. Is there any way to achieve this functionality?
    Let me know if you need further information.

    This is certainly possible, but there's a bit of a trick to it (and really hard to explain without screenshots!). There's two halves to it:
    1. Write the date that has been selected to a cell (for each series).
    2. Write the name of the series that was clicked to some cell (this is the property 'Series Name Destination').
    So let's say your three series are Glucose, Blood Pressure and Temp. Have those series names in B1,C1,D1 (with your dates down in column A). Insert a row below the series names (2:2), and then set up your insertion type for the chart as 'row'. The source data (for all three series) should be your list of dates in column a. The insertion cells for the three series will be, in order, B2,C2,D2. Now, depending on which point is clicked in the chart, the selected day will be inserted into one of those three cells. Completely useless unless you know which series was clicked.
    So you need to insert the name of the series that was clicked ('Series Name Destination') into the spreadsheet, let's say in F1. The rest is just Excel formulas. The logic is, you can now tell what series was clicked, and go and look up the date that was inserted for that series, then go and look up the row that corresponds to that date. So to get the date that was just clicked, your formula (in F2) would be =HLOOKUP(F1,B1:D2,2,0).
    Then a VLOOKUP will get the results from that row of data. For example, if I inserted another row at row 3 (to show my 'result' values) the formula in B3 would be =VLOOKUP($F$2,$A$4:$D$13,2,0).
    I hope that makes sense.

  • SSRS 2008 Line Chart Issue.

    We are facing an issue with SSRS 2008 charts. We have a report which shows dynamic number of series on a line chart. The data values may not exist for all series for
    the same x axis points. We expected SSRS to connect the missing points as average and have set the empty point option to average.
    The issue is that the
    1)     
    lines for interpolated points only appear when we set the color of empty point to say red and not when it is set to automatic. We need the interpolated line in the same auto
    colour as the original line as we will have markers for the data points from the DB and no markers for empty points.
    2)     
    The interpolated lines extend backwards in the series also – we expect it to only fill the gaps and not extend backward or forward.
    Are these issues known and is there a work around for these issues ? We got your name from one of the SSRS community discussions. Could you please connect us with
    the right person if you are not the right contact for this issue ?
    I also got following reply from one of the MS guy, it says
    Hi Akshay,
    The lines should not go backward.  I have seen this happen before and I’ll have to double-check on what that occurs. If you
    are using a Category Axis, make sure you set the sorting to use a Cdate() expression.  I think that might be it ,but I’ll have to double check.
    As far as using the auto-coloring on the series when you have empty points like this, I don’t think that’s possible.  It would require
    a DCR.  You may need to implement something along the lines described in this article  http://msdn.microsoft.com/en-us/library/aa964128(SQL.90).aspx.
    When I tried the suggestions I over come the auto colouring issue and also used CDATE () but lines still extend bacawords. Can anyone suggest what to do it this situation

    Hi AKshay_Jadhav,
    Firstly, I am not sure who is that MS guy you mentioned without the detail name. Based on my understanding to your issue, I think you could utilize the function
    IsNothing in reoprting services to have a check whether the value is null, if it is Null, you should give a average value to this point, if not leave it to be the original value. Of course, you could achieve this in T-SQL. To
    the color and marker, we could type in the expression in both feature to control their display effort.
    Hope this helps.
    Thanks,
    Challen Fu
    Challen Fu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Create line chart in SAP

    Hi experts:
      I got a problem while using graphic function (GRAPH_MATRIX_3D) to create chart, but I find the function can only create column(bar) chart and the maximal column is 6. As per the customer's request, they want to view the chart in line chart and the column number should be more than 6.
      Can you please advise is there any other function or way I can use to fix it? Thanks a lot!!!
    Edited by: Qicong Zhang on Oct 21, 2009 5:42 PM

    Hi,
    You can do this using the FM GFW_PRES_SHOW
    Check the sample program : DEMO_GFW_PRES_SHOW.
    Thanks,
    HArini

  • Line Chart report issue in BAM

    Hi,
    I have a view from my database on Daily Sales.
    I tried to make a line chart report.I had the data object & plan created and run.
    I am facing some issues while making out:
    1)In Line chart it looks like "Summary Function" in chart is must.
    2)All the data values are overlapping on axis lines as well as chart area.
    Dont know how to get rid of this Summary function etc, i want lines to be drawn s per the records in the view.

    Use count as summery function, count the unique value in your record

  • DAX formula and Legend/Series variable on line chart

    What I am trying to do is to find a DAX function that will not cumulate the 'startyear' variable (2006-2012) that is in the Legend/Series in a pivot table for a line chart I have (see below image of chart). The below functions just cause the startyear values
    to cumulate all together (2006+2007+2008....) instead of treating the years as separate values:
    =(CALCULATE(countrows(s1Perm1),FILTER(ALLSELECTED(s1Perm1),s1Perm1[ExitMonthCategory] <= MAX(s1Perm1[ExitMonthCategory]))))/(CALCULATE(COUNTROWS(s1Perm1),ALL(s1Perm1[Exit],s1Perm1[ExitMonthCategory])))
    Does anyone know how to change the above DAX formula or have another one that will allow the values in the Legend/Series variable to cumulate individually?

    Yes, it is a count, but they also must meet the criteria in the slicers chosen by the user.
    Regardless, I tried your suggestion and unfortunately, it did not work--in that the year values in the Legend/series are still aggregating together, rather than individually--ie. the numerator below for 2007 and 2007 are combined:
    StartYear
    Values
    2006
    2007
    ExitMonthCategory
    Den
    Num
    CumPercent
    Den
    Num
    CumPercent
    0.5
    243
    30
    12.3 %
    168
    30
    17.9 %
    1
    243
    37
    15.2 %
    168
    37
    22.0 %
    2
    243
    53
    21.8 %
    168
    53
    31.5 %
    3
    243
    63
    25.9 %
    168
    63
    37.5 %
    4
    243
    75
    30.9 %
    168
    75
    44.6 %
    5
    243
    92
    37.9 %
    168
    92
    54.8 %
    6
    243
    104
    42.8 %
    168
    104
    61.9 %
    12
    243
    175
    72.0 %
    168
    175
    104.2 %
    18
    243
    218
    89.7 %
    168
    218
    129.8 %
    24
    243
    262
    107.8 %
    168
    262
    156.0 %
    30
    243
    289
    118.9 %
    168
    289
    172.0 %
    36
    243
    302
    124.3 %
    168
    302
    179.8 %
    42
    243
    306
    125.9 %
    48
    243
    309
    127.2 %
    168
    309
    183.9 %
    54
    243
    318
    130.9 %
    168
    318
    189.3 %
    60
    243
    320
    131.7 %
    66
    243
    321
    132.1 %
    72
    168
    324
    192.9 %

  • Line Chart glitch - grid lines thick at certain heights

    The Flex Line Chart control does not display correctly at certain heights.  The gridlines that are supposed to be 1px pin stripes are sometimes displayed up to 100px wide.  This can be demonstrated with 1 line of code
    <mx:LineChart height="33000" x="200" y="0" id="chart_1"  width="100" ></mx:LineChart>
    I also have another small app that uses a timer to demonstrate how as the height increases the gridlines increase from:
    1px to 100px
    then back to 1px
    .... then as the chart's height increases another 7000px the 1px gridlines display correctly
    then it repeats going back to thick, then thin etc... almost a pulsating effect
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" creationComplete="init();">
        <fx:Script>
            <![CDATA[
                import flash.utils.Timer;
                import flash.events.TimerEvent;
                private var timer:Timer = new Timer(10);
                private function init():void{
                    timer.addEventListener(TimerEvent.TIMER, changeheight);
                    timer.start();
                private function changeheight(event:TimerEvent):void{
                    chart_1.height=chart_1.height+30;
                    lblHeight.text="Chart Height:"+String(chart_1.height)+"px ";
            ]]>
        </fx:Script>
        <mx:LineChart height="33000" x="200" y="0" id="chart_1"  width="100" ></mx:LineChart>   
        <s:Label id="lblHeight"  />
        <s:Button y="80" click="timer.start();" label="Start" />
        <s:Button y="100" click="timer.stop();" label="Stop" />
    </s:Application>

    Are you able to acheive this.?
    PCXML script is used for chart rendering, and with that I think you can't demark the Gridlines.
    The following Xml file gives the definitions for the chart components including gridlines.
    chartviewtemplates.xml
    Which inturn refers to the following js for gridlines
    i think you have to work on the Js here demark the grid lines by default
    <Oracle_BIHome>\web\app\res\b_mozilla\views\chart
    dlggridlineseditor.js
    Before doing any changes take the backup.
    Thanks,
    Vino
    Edited by: Vinodh NK on Oct 22, 2010 3:44 AM

  • Trendline on Line Chart

    Could anyone tell me how can i mark a trendline on Line chart in WEBI. I don't find any way of marking a trendline on Line chart
    Thanks for any response

    Arif,
    By trendline what do you mean by that?  There are a couple of approaches that folks take in a trendline by using either a running average or a running sum.  Both of these functions are available in WebI, however, the key is to use the ";col" portion at the end of your formula so that it gets plotted correctly in your graph.  The ";col" portion is not required in a strictly grid representation, but when you turn the grid to a graph then ";col" is required.  If you have a requirement other than running average or running sum please post back so that we can brainstorm more.
    Thanks,
    John

  • Is it possible to hide part of the line in webI line chart

    I had webI line chart which is showing for 2 months data, and is it possible to hide the line for only first 10 days in the line chart and continue the line after 11 th day till the end?

    @rajesh:  I didn't understand why should we use Relativedate() function?can you please explain little bit more. Becuase the report has customer exit written such a way that if I run the report today it will show up previous 60 days
    For example:
    today is 04/06/2011
    so in the report date column has values and shows up like
    02/06/2011
    02/07/2011
    02/08/2011
    04/05/2011.
    So now I should hide/avoid/shouldn't show First 10 days. In example above 02/06/2011, 02/07/2011,02/08/2011.....like wise 10 days so till 02/16/2011 shouldn't be shown in the report. The beginning of the report should start from 02/17/2011 till 04/05/2011..
    Edited by: saathiyaa on Apr 6, 2011 9:31 PM

Maybe you are looking for

  • Adobe Connect gets hanged when enabling/disabling audio

    Hi everyone! My name is Dani and I'm from Spain. We've just started using Adobe Connect but we are facing an unknown issue. (Art least, it's unknown for me ) I start a meeting as a host, then 2 or 3 people connect to it as guests, and then, everytime

  • Case statement to find if 3rd character is lower case

    Hi, Im trying to write a query that checks if the value's 3rd character in not a capital print Y if it is print N. Select Name, (Case 3rd charter of Name is lower case then 'Y' else then 'N'), age from persons table; Results: John Y 50 Mary Y 40 TED

  • IPhone 3g wont start after updating to 2.1

    im going to start from the beggining, it all started yesturday when i left with my school to the football game, i turned off my iphone, when i came back like 6 or 7 hours later, i notice that all the icons are messed up, and the PHONE application doe

  • Advanced Customizing

    Can any one provide me Tutorial on Advanced customizing tutorial of either CRM 4.0 or 5.0 as I am trying to learn BSP-BOL at my own..... can any one help me in this.. Thanks

  • Lockbox error - No data error

    I am trying to create a test file for lockbox and upload it. I get list contains no data error. Do you experts see any issues with the below lockbox file? 10000IDESTEST00IDESTEST1309031236 200IDESTEST00IDESTEST 5001001123456713090300IDESTEST00IDESTES