Forum Discussion
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
Community 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 LiIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
- v-yingjl
Community 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
- AnonymousNot 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
- edwardcharles
Most Valuable Professional
Been awhile since this was posted -- if you don't want to use Power BI's built in forecasting capabilities I made a video on a work around to visualize this: https://youtu.be/_x2VSJaTWYo