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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Replicate Line Chart Forecast Feature to DAX?

Hi everyone,

wondering if anyone knows how to replicate the line chart forecast feature into the DAX measure?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

It's possible. This blog shows how to create forward forecasts in Power BI using DAX.

In the blog, it is mentioned that you need to add a growth rate to the measure to calculate.

vstephenmsft_0-1649831043132.png

 

 

Best Regards,

Stephen Tao

 

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

3 REPLIES 3
TomMartens
Super User
Super User

Hey @Anonymous ,

 

this article explains how you can implement linear regression using DAX: Simple linear regression in DAX – XXL BI

The article also contains links to other approaches.

This Microsoft article https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-analytics-pane?WT.mc_id=DP-MVP-5003068 is referencing an article that describes the concepts used for forecasting in combination Power BI: https://powerbi.microsoft.com/en-us/blog/describing-the-forecasting-models-in-power-view/#which?WT.mc_id=DP-MVP-5003068

 

Hopefully, this helps to tackle your challenge.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

Hi @TomMartens,

thanks much for your reply!

The first links helps, but that translates the integrated trendline feature. I'd like to know if we can somehow calculate DAX (for table use eventually) for described in the 3rd link you posted (Forecast feature).

Anonymous
Not applicable

Hi @Anonymous ,

 

It's possible. This blog shows how to create forward forecasts in Power BI using DAX.

In the blog, it is mentioned that you need to add a growth rate to the measure to calculate.

vstephenmsft_0-1649831043132.png

 

 

Best Regards,

Stephen Tao

 

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

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.