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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
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.