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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
p4dd3
New Member

Creating a trendline based on previous 4 week average

Hello everybody,

I have data on a weekly level which goes from beginning of year until last week. I would like to also project how the next four weeks would perform based on the average last 4 weeks. I have tried several solutions here but I cannot get my numbers to add up, and in addition the formulas I have tried only work on day/month. Preferebly it could be a calculated column but also a measurement would be fine. My goal is to, in the same graph (line) display both the historical and the projected values - so for example last 3 weeks and upcoming 4 weeks. 

Thanks in advance for all help! 

My data looks something like this. Note that it is from appended Excels which creates some empty future date entries as below. The cells called "Order" are the ones I would like to fill for the last two weeks (in reality for upcoming 4 weeks).

 

Date           Week       Orders       Location  
11/7-22W2850A
11/7-22W2850B
11/7-22W28

100

C

18/7-22W2920A
18/7-22W2930B
18/7-22W2920C
25/7-22W3030A
25/7-22W3050B
25/7-22W30100C
1/8-22W3130A
1/8-22W3150B
1/8-22W3150C
8/8-22W3230A
8/8-22W3260B
8/8-22W3270C
15/8-22W33 A
15/8-22W33 B
15/8-22W33 C
29/8-22W34 A
29/8-22W34 B
29/8-22W34 C

 

1 REPLY 1
lbendlin
Super User
Super User

see attached for one possible implementation. It sums the averages per location.

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.

Top Solution Authors