cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

below show how i get trend  by Excel

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
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.

3 REPLIES 3
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.

Frequent Visitor

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 !

Frequent Visitor

Is there any clarification  i can do

Announcements

#### Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

#### Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

#### Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

#### New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors
Top Kudoed Authors