Can i get Linear regression line(trend line) with MDX

  • Hi,

    Can i get Linear regression line(trend line) in the plot of SSRS ?

    I am trying to get the records in the MDX query level so that the resultset can be plotted as a trendline along with X,Y.

    Ex: X,Y are from cube.

    Z is to be derived as a resultset of the MDX query so i can use it for plotting a straight line in the chart of SSRS.

    Please help me in this regard.

    Give me a sample code if possible.

    Thanks in advance,

    santhu.

  • Mosha has some hints on how to achieve this, here.

    Steve.

  • Hi Steve,

    The link helped me .

    I am able to meet the requirements.

    Thanks a lot for the help.

    ...santhu

  • Hi steve,

    I am using scatter chart for plotting Y-axis.

    So, for the regression line i am computing the data at the MDX query level and the data is displayed as a separate value.

    SSRS wont allow different charting types in the same plot????

    For ex: Y-axis: Scatter graph

    Regression Line: Line graph

    I have null values for certain range in the data.

    But the regression line should be line graph instead of scatter graph.

    Can i achieve this?

    I am using SSRS 2008.

    Any possibility, let me know.

    Thanks a lot,

    santhu

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply