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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Mishary
Frequent Visitor

how to get forecasting for next weeks up to end of the year

Hi !

 

I've been trying to find a solution for a few days, but I can't find it

 

what i'm trying to do is to get forecasting for next weeks up to end of year  based in  trend from the first week up to the  last week

 

I was to do this manually by Excel using trend function 

 

Screenshot 2022-11-14 091332.png

 

below show how i get trend  by Excel

Screenshot 2022-11-14 092152.png

So how can I forecasting kpi from 41 week up to 53 week based in trend from first week up to 40 week by using DAX ?

 

In my data model i have date table and operations table so the table above is just to explain what i'm trying to do

 

I hope someone can help

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

Hi @Mishary ,

 

Does prediction mean calculating linear regression?

You can view the following documentation:

Simple linear regression in DAX – XXL BI

How To Do Trend Analysis In Power BI Using DAX - Enterprise DNA

Solved: DAX to create a Trend line? - Microsoft Power BI Community

Use Custom DAX to create a Linear Regression Trendline with a Dynamic Date Hierarchy in Power BI - M...

 

Best Regards,

Neeko Tang

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
v-tangjie-msft
Community Support
Community Support

Hi @Mishary ,

 

Does prediction mean calculating linear regression?

You can view the following documentation:

Simple linear regression in DAX – XXL BI

How To Do Trend Analysis In Power BI Using DAX - Enterprise DNA

Solved: DAX to create a Trend line? - Microsoft Power BI Community

Use Custom DAX to create a Linear Regression Trendline with a Dynamic Date Hierarchy in Power BI - M...

 

Best Regards,

Neeko Tang

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

Thanks @v-tangjie-msft 

 

https://community.powerbi.com/t5/Desktop/DAX-to-create-a-Trend-line/m-p/398438

 

i tried this  and it's work !

 

Thanks for your help

 

 

Mishary
Frequent Visitor

Is there any clarification  i can do

 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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