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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

YTD using week numbers

Hi All,

 

First time posting here, I hope everyone is doing well! 

 

I'm trying to build a YTD measure but running into an issue. The date column I'm using is week ending (we receive POS data weekly, not daily at my company). When I run YTD sales using normal time intelligence, it's pulling in sales for ending Jan 2 (see snapshot below). We consider this week to be 2021 sales, making my YTD numbers inaccurate. Note that I cannot simply calculate the week beginning for each week to "move" this week to 2021 because it causing an issue on another year.

 

Wondering is there's a way to run YTD sales using week numbers from the "Week" column, instead of dates. I'm able to identify the current week using a MAX function, so I am able to identify wk1 and current week's values.

 

Hoping this makes sense and someone has a fix. Thanks in advance!!!

 

d_luko_1-1659740127555.png

 

 

 

1 ACCEPTED SOLUTION
daXtreme
Solution Sage
Solution Sage
2 REPLIES 2
Anonymous
Not applicable

Thanks @daXtreme! The answer was definitely in there. Still working through setting up my calendar correctly, but this is what I was looking for. Thanks!

daXtreme
Solution Sage
Solution Sage

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.