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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
jaimyhoff
New Member

Week to date Values in Line Chart

Hi all,

 

Im looking for a solution to present actual weektodate data into a chart.

 

What I have for the moment is the following:

1. A week to date forecasted value combined to a date table;

2. A dataset with actual values matches to the date table

 

I have in my table now the total per week.

I am looking for a measure which shows me in week 2 the sum of week 1 and 2, and in week 3 the sum of week 1 till 3 etc.

In this way i can show my Weektodate values in a Line chart.

At the moment my chart is showing the weekly individual values instead of the weektodate values

 

Thanks for helping out.

 

BR,

Jaimy

Prtscrn1.PNGPrtscrn2.PNG

 

 

1 REPLY 1
amitchandak
Super User
Super User

@jaimyhoff , Are you looking for a Cumulative week total

 

Power BI — Week on Week and WTD , you can refer
https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3
https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-La...
https://www.youtube.com/watch?v=pnAesWxYgJ8

 

or something like this

 

YTD= CALCULATE(sum('order'[Qty]), FILTER(ALL('Date'),'Date'[Year]=max('Date'[Year]) && 'Date'[Week] <= Max('Date'[Week]) ))
LYTD = CALCULATE(sum('order'[Qty]), FILTER(ALL('Date'),'Date'[Year]=max('Date'[Year])-1 && 'Date'[Week] <= Max('Date'[Week])))

 

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 :radacad sqlbi My Video Series Appreciate your Kudos.

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.