Forum Discussion

LauraBueno's avatar
LauraBueno
Icon for Helper III rankHelper III
6 years ago

Confidence intervals in line chart

Hi,

 

I have the line chart shown below in power bi and I'd like to add the confidence intervals as shaded areas around each of the lines plotted. Could anyone please help me with this ?

 

Thanks a lot in advance,

 

Laura

 

 

 

4 Replies

  • v-yingjl's avatar
    v-yingjl
    Icon for Community Support rankCommunity Support

    Hi LauraBueno ,

    You can use forecast function under Analytics pane to set confidence interval:

    However, the forecasting feature is only available for line chart visuals so that you could not show shaded areas in chart line instead of using Area chart.

    Please refer:https://docs.microsoft.com/en-us/power-bi/desktop-analytics-pane

     

    Best Regards,
    Yingjie Li

    If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

  • v-yingjl's avatar
    v-yingjl
    Icon for Community Support rankCommunity Support

    Hi LauraBueno ,

     

    If you've fixed the issue on your own please kindly share your solution. If the above posts help, please kindly mark it as a solution to help others find it more quickly. Thanks!

     

    Best Regards,

    Yingjie Li

  • Anonymous's avatar
    Anonymous
    Not applicable

    I'm looking to do the same thing (include a confidence interval around plotted data), however the proposed solution seems to be only applicable to forecast values. 

    If possible i'd like to do this on the line of a 'line and stacked column' chart, so that the line (with it's interval band shows the desired trend and tolerance, and the columns the actual data. For current data, not forecast.

    For context, this is what i'm trying to achieve in powerbi, as you would do it in excel: Excel equivalent