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,
At the moment I have a variable with daily granularity, however, I need to get track it on a weekly basis.
Is there any way to do this? Is there a way to add week in the Date Hierarchy?
Thanks in advance,
IC
Solved! Go to Solution.
Hi @Anonymous ,
Maybe this article would be a good place to start?
https://www.jetglobal.com/blog/working-with-weeks-in-power-bi/
@Anonymous Yes, you can have a WeekStarting or WeekEnding date in the date hierarchy.
For example, Considering Friday as WeekEndingDate of the business you can add a column to your date dimension as below in SQL.
case when datepart(dw, date) = 7 then dateadd(day, 6, date) else dateadd(day, 6 - datepart(dw, date), date) end
Proud to be a PBI Community Champion
Hi @Anonymous ,
Maybe this article would be a good place to start?
https://www.jetglobal.com/blog/working-with-weeks-in-power-bi/
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 86 | |
| 85 | |
| 68 | |
| 64 |