Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
michielolie
Regular Visitor

Calculate or add a future trendline to a line graph

Hi all,

 

I tried to find a solution for my problem, but did not yet found an answer for this on this forum.

 

I have created a PowerBI dashboard that shows a few percentages lines in a graph. It shows the lines over time until today. I have added a trendline to the graph that shows the trend of all these percentages lines. What I would like to do is to show this trendline one year in the future. Is there a way to extend this line in the graph? 

 

Bonus question: ultimately I would like to show 2 other trendlines, one that shows a line if the trendline is 95% of the average and one if it is 105%. Is there a way to do this? 

 

Ultimate result:

Awesome_paint_drawning.png 

1 ACCEPTED SOLUTION
v-yadongf-msft
Community Support
Community Support

Hi @michielolie ,

 

This is my test table:

vyadongfmsft_0-1668565723331.png

 

 

Create a line chart and then trend line switch:

vyadongfmsft_1-1668565963793.png

 

Open forecast switch. If you want to show trendline is 95% of the average and one if it is 105%, please select 95% confidence interval.

vyadongfmsft_2-1668566181228.png

 

Last, you will get a line chart like this:

vyadongfmsft_3-1668566299287.png

 

Best regards,

Yadong Fang

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

View solution in original post

4 REPLIES 4
KyleMB350
Frequent Visitor

Were those forecast options removed from the line chart visual, or is this a non-standard visual?

 

//Edit - X-Axis needs to be set to Continuous in order to see the option

Hi @KyleMB350 

 

If you scroll down to the bottom of the Analytics pane, you should see it.

gmsamborn_0-1746127952476.png             

gmsamborn_1-1746127982646.png

 

 



Proud to be a Super User!

daxformatter.com makes life EASIER!

Thanks! I discovered it's required you have the X-Axis set to Continuous in order to get the option.

v-yadongf-msft
Community Support
Community Support

Hi @michielolie ,

 

This is my test table:

vyadongfmsft_0-1668565723331.png

 

 

Create a line chart and then trend line switch:

vyadongfmsft_1-1668565963793.png

 

Open forecast switch. If you want to show trendline is 95% of the average and one if it is 105%, please select 95% confidence interval.

vyadongfmsft_2-1668566181228.png

 

Last, you will get a line chart like this:

vyadongfmsft_3-1668566299287.png

 

Best regards,

Yadong Fang

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.