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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Bryanna
Helper II
Helper II

Rolling Week PBI

Hi! New to PBI and I need a calculate a Rolling Week in starting with 10/1/21 being Week 1 and it continuing from there. Screenshot below where i need to be able to calculate it 2 different ways and the intended output.

Bryanna_0-1658870238672.png

 

1 ACCEPTED SOLUTION
vapid128
Solution Specialist
Solution Specialist

WEEK(MON - SUN) = INT(([Dates]-2)/7) - int((DATEVALUE("10/1/21")-2)/7) + 1
 
WEEK(th - wed) = INT(([Dates]+2)/7) - int((DATEVALUE("10/1/21")+2)/7) + 1

View solution in original post

2 REPLIES 2
Bryanna
Helper II
Helper II

That worked!! Thanks so much

vapid128
Solution Specialist
Solution Specialist

WEEK(MON - SUN) = INT(([Dates]-2)/7) - int((DATEVALUE("10/1/21")-2)/7) + 1
 
WEEK(th - wed) = INT(([Dates]+2)/7) - int((DATEVALUE("10/1/21")+2)/7) + 1

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors