Strange Ideal Trend Line in burndown chart

I am getting a very strange idealtrend line in my burn down chart. The project has 400 hours of work in it, but the ideal trend starts at 100 hours. THis places 300 hours above the ideal trend, which looks very weird.
I would like to understand how the beginning point of the ideal trend line is calculated, perhaps this will help me figure out what is going on.
any help would be appreciated.

Hi,
You can
download the Agile Process Template to your local machine , and in the Reports folder, you can find the Burndown - Dashboard.rdl.  You can open this file using SQL Server Business Intelligence Development Studio or just notepad.exe.
In the rdl file, The IdealTrend Series is calculated as
=IIF (Parameters!TrendLineParam.Value = "both" OR Parameters!TrendLineParam.Value = "ideal",
Code.Burndown
IIF
( Parameters!YAxis.Value = "hours",
Sum(Fields!Cumulative_Remaining_Work.Value),
Sum(IIF(Fields!System_State.Value<>Parameters!ClosedName.Value, Fields!Cumulative_Count.Value, 0))
Fields!DateValue.Value,
Parameters!EndDateParam.Value
Nothing
 And Code.Burndown is defined as
Private firstValue As Double = Double.NaN
Private firstDate As Date
Private lastState As String
Private numDays As Integer
Function Burndown(ByVal val As Object, ByVal valDate As Date, ByVal endDate As Date)
If valDate &lt; firstDate Then
firstValue = Double.NaN
firstDate = DateTime.MinValue
End If
If Double.IsNaN(firstValue) Then
If Not val Is Nothing And val &lt;&gt; 0 Then
firstValue = val
firstDate = valDate
numDays = Math.Max(1, (endDate - valDate).Days)
Return firstValue
End If
Else
Return ((endDate - valDate).Days / numDays) * firstValue
End If
Return Nothing
End Function
From the Burndown function, when firstValue is NaN, the value is set to the parameter
val, and the series pass Sum(Fields!Cumulative_Remaining_Work.Value) as the parameter
val, so the beginning point of the ideal trend line is calculated as Sum(Fields!Cumulative_Remaining_Work.Value)
Best regards,
Ruiz
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg @ microsoft.com

Similar Messages

  • Dynamic trend line on flash chart

    Hi,
    How could we reference an apex item on the custom XLM chart? I intend to add a dynamic trend line using
    &lt;objects&gt;
    &lt;line value="&PXX_." text="trend line" color="0xFF0000" thickness="1" alpha="100"/&gt;
    &lt;/objects&gt;
    but it doesn't work. Could somebody guide me to the right direction.
    And to add, anybody have integrated or call an statistical process control (SPC) chart in apex?
    Thanks in advance.

    You can create a process, create the entire XML string in the process, and set the resulting XML string in the Custom XML area. We did something similar and seems to be working fine.
    Ravi

  • Trend line in scatter chart

    Hi,
    Is it possible to add a trend line to an existing scatter chart?
    Thanks.
    Andy

    The Regression/Trend Line is calculated using the Least Squares Regression method. You can get all the information on what goes into the calculations for Least Squares Regression on wikipedia.
    Then create an actionscript class (its not particularly complicated) that does the Least Squares Regression calculations on a series of x and y observations (that you used to create your plot chart).
    Once you have calculated the Least Squares Regression data for your plot series, you add a line series to your plot chart. Each observation in the lineSeries data should use the x value (independant variable) from the plot data and the calculated y value from your Least Squares Regression class.

  • Displaying a trend line (in line chart) in SSRS

    We have a line graph which plots the actual data points (x,y), everything is working fine with this graph. Now we need to add a trend line to this existing graph after going thro. the articles we came to know that there is no direct option in SSRS to draw a trend line. So we need to calculate the trend values ourselves which we need to plot as atrend line. This trend line is similar to the trend line which comes in Excel chart, do anyone know how to calculate the trend values from the actual data points. We got through several formulas, but were not clear, have anyone tried out exactly the same, if so please help us out by providing an example to calculate the trend values.

    The default functionality of Reporting Services does not support trend lines.  There are some additional tools you can purchase to achieve this though, which is talked about in the first link below.
    You can take a look at this post:  http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1148970&SiteID=1
    and this one:  http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=322398&SiteID=1
    Jarret

  • Can You Create Trend Line in CFCHART?

    Have pretty much got CF7 Charts and WebCharts3D down, at
    least to the point where they can do what I need the most. However,
    the one thing I'd like to be able to do, but not sure if it's
    possible, is create a TREND LINE.
    This would be a LINE charts with 2 series. The first series
    would be a line with the actual counts covering a period of time.
    I'd like to add a 2nd line, using the same data from the
    first series, but have it displayed as a TREND line. In Excel, you
    can easily create a TREND line, it's even offered as an option.
    I've seen somehwere (CFCHART or WebCharts3D) something to so
    with "logarithmic" options, which is one of the options for Excel
    charts.
    Two more quick questions:
    Q1. Is there any way to control the margin between the left
    and right borders of the charts, and the bars? Have tried
    experimenting, but can't seem to get this to work. Reason is, when
    I try to show a chart in 3D, the first bar on the left is "butted
    up" against the left chart border. Would like to add a little space
    there.
    Q2. Rather than display rectangular bars, I'd like to display
    rounded cylinders. I've tried setting the chart type in CFCHART to
    "cylinder" but it still displays a bar. When I try to change the
    type to "cylinder" in WebCharts3D, the chart STILL displays
    rectangular bars. Yet I've seen many examples of rounded, cylinder
    bars.
    Don't mean to push my luck with too many questions. Thanks
    for any advice, help.
    Gary

    Trend Lines:
    CFChart does not do trend lines of any type. However, it is
    not too difficult to compute the regression of your choice and to
    plot it as a second series.
    Logarithmic:
    Not sure what you are asking here.
    In theory, cfchart does do log-lin and log-log charts.
    However, it is so buggy, and the scaling problems are so
    great, that we have never been able to get it to work well.
    We use ChartDirector for anything that requires a log scale.
    Side margins:
    You cannot control these directly. Here are some workarounds:
    For "Category" axis:
    Make sure the "isBucketed" property is set to true (this is the
    default).
    If that is not enough, add extra bars to your data series,
    usually value zero. It's not ideal but it may be good enough.
    For "Scale" axis:
    Usually this works well enough. Otherwise, try toggling the
    "isAbsolute" property.
    The only other recourse is to manually scale the plot using the
    "scaleMin" and "scaleMax" properties. This can be a real pain for
    obvious reasons and also because cfchart scaling is fraught with
    bugs and "quirks".
    Cylinder Bars:
    These work. Perhaps there was a setting conflict within the
    XML or between the CFChartSeries setting and the XML?
    Also the cylinders will only look round when 3D is turned on.
    (Side view of a cylinder is just a shaded bar.)
    Anyway, I've said it before: cfchart is barely usable for a
    very limited range of charts.
    For real business or common engineering and scientific needs,
    you need to step up to something better.
    The package we use (has all the features and very reasonably
    priced) is ChartDirector (
    http://www.advsofteng.com/cdcoldfusion.html).
    (And, no, I'm not affiliated.)

  • Is it possible to pull burndown charts through the API?

    I'm trying to pull information relating to sprints and I would ideally like to be able to pull burndown charts, either as an image or a hyperlink. Is this possible? 

    Hi Mike,
    The ability to delete BPAddresses through the DI API was added in 2007 A PL43; there is now a delete method on this object.
    Several objects had delete methods exposed to them in this patch level:
    Delete Method for Lines: The Delete method was added to the following objects:
    BPAddresses (Delete method)
    BPBankAccounts (Delete method)
    BPPaymentDates (Delete method)
    ContactEmployees (Delete method)
    ItemWarehouseInfo (Delete method)
    ProductionOrders_Lines (Delete method)
    ProductTrees_Lines (Delete method)
    ServiceCallActivities (Delete method)
    ServiceCallInventoryExpenses (Delete method)
    ServiceCallSolutions (Delete method)
    ValidValuesMD (Delete method)
    There is more information in the help file released with that patch - as far as I'm aware, this functionality is not detailed in a note.
    Regards,
    Niall

  • How to create trend line in cfchart?

    I can create a scatter chart in cfchart - but I do not know how to create a linear regression trend line in the same chart as a second data series. Kodemonki provided an answer in a forum discussion a few years ago (http://forums.adobe.com/message/192848#192848) - but I am not able to make it work (I have a dangerously small knowledge of coldfusion and statisitcal formulas). Can someone tell me where i put in my to data query variables - such as for a query that gives results for two data fields, "Item1" and "Item2".
    Here is Kodemonki's solution:
    <!--- The min setting is a preference based on how you want the data to be displayed. --->
    <!---<cfset min = arrayMin(grabData["value"]) - 5>--->
         <cfset min = 0>
         <cfset max = ceiling(arrayMax(grabData["value"])) + 1>
         <cfset n = grabData.recordCount>
         <cfset sum_x = 0>
         <cfset sum_x2 = 0>
         <cfset sum_xy = 0>
         <cfloop from="1" to="#grabData.RecordCount#" index="i">
              <cfset sum_x = sum_x + i>
              <cfset sum_xy = (i*grabData.value[i]) + sum_xy>
              <cfset sum_x2 = sum_x2 + (i*i)>
         </cfloop>
         <cfset sum_y = arraySum(grabData["value"])>
         <cfset slope = round(((n*sum_xy) - (sum_x*sum_y))/((n*sum_x2) - (sum_x*sum_x)))>
         <cfset intercept = round((sum_y - (slope*sum_x))/n)>
         <cfset best_fit = QueryNew("id, value")>
         <cfloop from="1" to="#grabdata.RecordCount#" index="i">
              <cfset queryAddRow(best_fit)>
              <cfset value = round((slope*i) + intercept)>
              <cfset QuerySetCell(best_fit, "id", grabData.xlabel[i])>
              <cfset QuerySetCell(best_fit, "value", value)>
         </cfloop>
         <cfchart scalefrom="#min#" scaleto="#max#" title="#GrabDatapointInfo.label#" format="jpg" chartHeight="450" chartwidth="500" xaxistitle="Month/Year">
              <cfchartseries type="line" query="best_fit" valuecolumn="value" itemcolumn="id"/>
              <cfchartseries type="line" query="grabData" valuecolumn="value" itemcolumn="xlabel"/>
         </cfchart>

    Have you read the docs for CFCHART, CHCHARTSERIES, etc?  Did you mess around with the example code sufficiently so you understand how the tags work?
    http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-79 30.html
    Adam

  • How to create a trend line in cfchart?

    I  can create a scatter chart in cfchart - but I do not know how to create  a linear regression trend line in the same chart as a second data  series.
    Kodemonki provided an answer in a forum discussion a few years  ago (http://forums.adobe.com/message/192848#192848).
    But I am not able to make it work (I have a dangerously small  knowledge of coldfusion and statisitcal formulas).
    Can someone tell me  where i put in my to data query variables - such as for a query that  gives results for two data fields, "Item1" and "Item2".
    Thanks!
    Here is Kodemonki's solution:
    <!--- The min setting is a preference based on how you want the data to be displayed. --->
    <!---<cfset min = arrayMin(grabData["value"]) - 5>--->
         <cfset min = 0>
         <cfset max = ceiling(arrayMax(grabData["value"])) + 1>
         <cfset n = grabData.recordCount>
         <cfset sum_x = 0>
         <cfset sum_x2 = 0>
         <cfset sum_xy = 0>
         <cfloop from="1" to="#grabData.RecordCount#" index="i">
              <cfset sum_x = sum_x + i>
              <cfset sum_xy = (i*grabData.value[i]) + sum_xy>
              <cfset sum_x2 = sum_x2 + (i*i)>
         </cfloop>
         <cfset sum_y = arraySum(grabData["value"])>
         <cfset slope = round(((n*sum_xy) - (sum_x*sum_y))/((n*sum_x2) - (sum_x*sum_x)))>
         <cfset intercept = round((sum_y - (slope*sum_x))/n)>
         <cfset best_fit = QueryNew("id, value")>
         <cfloop from="1" to="#grabdata.RecordCount#" index="i">
              <cfset queryAddRow(best_fit)>
              <cfset value = round((slope*i) + intercept)>
              <cfset QuerySetCell(best_fit, "id", grabData.xlabel[i])>
              <cfset QuerySetCell(best_fit, "value", value)>
         </cfloop>
         <cfchart  scalefrom="#min#" scaleto="#max#" title="#GrabDatapointInfo.label#"  format="jpg" chartHeight="450" chartwidth="500"  xaxistitle="Month/Year">
              <cfchartseries type="line" query="best_fit" valuecolumn="value" itemcolumn="id"/>
              <cfchartseries type="line" query="grabData" valuecolumn="value" itemcolumn="xlabel"/>
         </cfchart>

    Have you read the docs for CFCHART, CHCHARTSERIES, etc?  Did you mess around with the example code sufficiently so you understand how the tags work?
    http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-79 30.html
    Adam

  • Line Time Series Chart not working

    Hi All,
    I have one Line Time Series chart where on the X Axis i have taken one date and on Y axis one Sales Figure.Now on the Measure Lables i have taken on dimension as Customer.
    So the chart will give me something like trend which customer has how much sales figures daywise.
    Now the issue is that it shows the trend for one customer correct and shows the line but if i select second customer the graph doesnt show the line just dot for the second customer.
    Any help in this regard

    Thanks Vinod for the reply.
    Second customer doesnt have data on consecutive days but there is no pattern in that.He has data on 3rd,7th,8th,10th,15th day.
    But for all these days for the second customer dots are coming but not in the case for First Customer.
    Regards

  • Numbers 3.1 restricting the period for moving average trend lines

    Numbers 3.1 is restricting the period I can specify for a moving average trend line for a scatter plot series. The max is 6. This limitation was not present in the previous version of Numbers.
    Charts imported from the previous version retain larger periods, but there is no way I can see to specify periods >6 for any new series. Is there a way to allow a period >6? That is clearly necessary for many applications.
    Thanks.

    Hi Bill,
    Numbers 3.1
    If you want a 14 day moving average over the prior 14 days, the formula in C10 is
    =AVERAGE(B2:B15) (and Fill Down)
    The formula will eventually run out of cells. Hence the red error triangles.
    Plotting columns A, B and C:
    X axis is Day (column A)
    Blue circles and blue line are Actual Y (column B and as expected, they jump around).
    Black circles and black line are calculated moving averages on a 14 day period (column C)
    Red line is Numbers Trendline (Moving Average, Period 6). How it predicts into the future (Moving Average over 6 days) I have no idea.
    I would more trust a calculated moving average, because I know what it is calculating.
    Regards,
    Ian.

  • Accessing trend line formula in Crystal Report

    I am using Crystal Reports 8.5 and CR2008.  I have a report showing a trend line (specifically the quadratic regression).  I can show the formula that is being used for the report in the chart.  How can I access the regression formula in Crystal Reports?
    Thank you for your help.

    hi James,
    in short you can't...the charting engine is a separate 3rd party dll so what you see there is not necessarily available in the rest of cr in summaries etc.
    in order to do things like this, you either have to do the calcs on your database or using formulas. i've attached an example of linear regression that i did a while ago. change the .txt extension to .rpt after you extract the contents. sorry, there are no instructions on how to do this.
    on the attached sample though it does figure out the regression formula and also extrapolate data, show residuals etc.   there are a couple of other "fits" in a parameter but i never finished those as it made my head hurt
    -jamie

  • Extending trend lines in Numbers '09

    I have a chart with a trend line, and I'd like for the trend line to extend past the last data point, to forecast where the data is heading. How do I do that? thanks.

    Unfortunately, Numbers charts don't have an option to extend the line. However, if your trendline is a linear trendline, you can easily add a "forecasted" data point to your series in your table and include it in the plot. Or you can add forecasted points to both ends of your chart if you want to extend the line in both directions. If these forecasted points are outside of the range of your chart (i.e., less than the axis min or greater than the max), the forecasted data points will not plot, just the extended line.
    Here is a thread on the subject:
    http://discussions.apple.com/thread.jspa?messageID=10012513&#10012513

  • Add a trend line to a scatter graph

    for my physics work i had to plot a graph and i need to add a trendline to the graph. I have plotted the graph as a scatter chart but dont know how to add a line of best fit, please help

    Search "linear regression' in Numbers Help.
    The FORECAST() function can be used to calculate the end points for the trend line using the minimum and maximum X values in your data set for the x value argument.
    For example, with your data pairs listed in B3:B12 (x values) and C3:C12 (y values), add these values and formulas:
    D3: 0
    E3: =FORECAST(D3, C3:C$12, B3:B12)
    D4: =MAX(B3:B12)
    E4: =FORECAST(D4, C3:C$12, B3:B12)
    The data pair on row 3 mark the y axis intercept of the trend line.
    The pair on line 4 mark the position of the trend line where its x value is equal to the maximum x value of the data set. As plotting this pair may obscure the data point at this x value, you may want to move the trend line point to the right. To do this, add an arbitrary amount to the value in D4. The size of the added amount will depend on the scale of your graph.
    eg. D4: =MAX(B3:B12)+2
    If your data set includes negative x values, replace the formula in D3 with the mirror of the one in D4:
    D3: =MIN(B3:B12)-2
    Again, the "-2" is an arbitrary value used to extend the trend line beyond the collected x values.
    This will allow you to plot these two points onto your scatter graph as a second data set. I don't see a means of making Numbers connect the points, so you will have to add the line manually.
    Regards,
    Barry

  • Linear trend line in ssrs 2008

    Hello,
    I am looking to add a linear trend line in my report. I am trying to replicate the linear trend line from excel.
    The calculated field option like running total, etc isnt getting what we need.
    Any thoughts?

    Hi Ships18,
    I have check your snapshot, from the excel, you have the amount in the data field, Date Type field in the "Category groups" and the field(ProductCategory) with the value of DOWNLOAD and UPLOAD in the Series groups, Now the DOWNLOAD need to display
    the liner trend line in chart.
    We don't have any function to automatically get the Chart like you provided in the excel. Please design the chart manually following the details steps below.
    I have tested on my local environment with similar sample data as yours as below and finally got the chart as the excel shows:
    Details information below for your reference:
    Right click the series group to select the "Series Properties" to get the name of the Series Group like"Chart3_SeriesGroup1"
    Follow the step1 in the last reply to modify the expression like below if you want to only show the liner of the download:
    =IIF(Fields!ProductCategory.Value="Download",RunningValue(Fields!Amount.Value,Sum,"Chart3_SeriesGroup1"),Nothing)
    If you want to show both the liner(DownLoad and Upload), you can use the expression like:
    =RunningValue(Fields!Amount.Value,Sum,"Chart3_SeriesGroup1")
    If you want to rename the chart Legend you can rignt click it to select the chart and select the "Series Properties"
    Add expression in the "Custom Legend text" of the Legend session.
    ="Liner_"&Fields!ProductCategory.Value
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Is it possible to create a trend line in HTML DB 2.0?

    Hello again!
    I am trying to replicate bar charts that were created in EXCEL that took advantage of the Trend Line feature. I can create the bar chart just fine, but I am not able to create the trend line. Is there a way to do this? Thanks in advance for your help.

    You could sort-of simulate a trend line by adding a second series of bars that plots the trend data.
    For example, the first series could plot your data, and the second series could plot the running average.
    Analytic functions are handy for this.

Maybe you are looking for