Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi guys,
I am trying to create a week column (displaying week number) which starts from Tuesday and ends next Tuesday.
Any suggestion?
I used Weeknum 21 but it starts from Mon, not Tue.
Thanks a lot
Solved! Go to Solution.
Hi @snamhoang
Please add this calculated column to your Calendar table
Week Starting Tuesday =
var offset = switch(FORMAT('Dates'[Date],"DDD"),
"Tue",0,
"Wed",-1,
"thu",-2,
"Fri",-3,
"Sat",-4,
"Sun",-5,
"Mon",-6
,0)
Return DATEADD('Dates'[Date],offset,DAY)
Hi @snamhoang
Please add this calculated column to your Calendar table
Week Starting Tuesday =
var offset = switch(FORMAT('Dates'[Date],"DDD"),
"Tue",0,
"Wed",-1,
"thu",-2,
"Fri",-3,
"Sat",-4,
"Sun",-5,
"Mon",-6
,0)
Return DATEADD('Dates'[Date],offset,DAY)
Hi @snamhoang,
What I would do is to suggest creating a new column in the Query Editor.
In doing that you can easily create it in your Date table, and from there you could then create your weeks also based off your Week Number column?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 38 | |
| 36 | |
| 29 | |
| 28 |
| User | Count |
|---|---|
| 126 | |
| 88 | |
| 78 | |
| 66 | |
| 65 |