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
Anonymous
Not applicable

How do I calculate the weekly amount for a time series plot?

Hi Guys,

I'm trying to plot a time series line graph with week&year and the total weekly amount. I'm not sure how to do this. 

The data looks like below but over 3 years. I would also like to use the forcast feature.

Thanks,

KC

 

 

Unique Date / Daily Amount / Weeknum

25/07/201751573.5330
26/07/201741039.3230
27/07/201729508.3530
28/07/201761868.1430
29/07/201734081.0630
30/07/201732373.4431
31/07/201774694.9331
1/08/201750097.6731
2/08/201739369.0831
3/08/201736823.7331
4/08/201734325.4331
5/08/201726066.1931
6/08/201719731.7732
7/08/201752321.8132
8/08/201746549.6532
9/08/201738040.6132
10/08/201763571.2232
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Create a date table and try plotting on Week start date or Week end date

 

Week Start date = DATEADD('Date'[Date],-1*WEEKDAY('Date'[Date])+1,DAY)
Week End date = DATEADD('Date'[Date],7-1*WEEKDAY('Date'[Date]),DAY)

 

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s.

Refer
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi

https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

Create a date table and try plotting on Week start date or Week end date

 

Week Start date = DATEADD('Date'[Date],-1*WEEKDAY('Date'[Date])+1,DAY)
Week End date = DATEADD('Date'[Date],7-1*WEEKDAY('Date'[Date]),DAY)

 

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s.

Refer
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi

https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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