This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello -
I currently have a visual that compares the amount of Impressions from a Week over Week (WoW) basis.
The formula works fine, however, I noticed that when it comes to the end of the year, and the start of the new year, the calculation malfunctions. And the reason is that the Week of Year has two different values for the WeekDate.
Example below:
On Sunday, December 27, 2020, the Week of Year contains 53 and 1.
Is there anyway to fix this?
Here is the current PowerQuery formula I have for WeekOfYear:
= Table.AddColumn(#"Inserted Start of Week (WeekDate)", "Week of Year", each Date.WeekOfYear([Date]), Int64.Type)
Calculation used for Total Impressions Last Week:
@Anonymous
Check this out as well
https://community.powerbi.com/t5/Desktop/how-to-adjust-week-number-in-date-dale/m-p/1598957#M647578
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Hi @Anonymous
See if this can help
https://community.powerbi.com/t5/Power-Query/Calender-table-with-Date-WeekOfYear-week-53/m-p/1597115
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Hi @AlB
So, I added the ISO Week Number column to my Calendar table, and it seems to be doing the trick. But now, it doesn't work in my WoW visual.
The Previous Week Calculation I am using below is returning blank:
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 6 | |
| 4 | |
| 4 |