Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi,
Is there any way to start a grouping of weeks starting on Jan 1? I have this formula:
Solved! Go to Solution.
Hi @Anonymous ,
try this.
Date Start of Week =
DATE ( YEAR ( Dates[Date] ), 1, 1 )
+ QUOTIENT ( DATEDIFF ( STARTOFYEAR ( 'Dates'[Date] ), Dates[Date], DAY ), 7 ) * 7Regards,
Marcus
Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Hi @Anonymous ,
try this.
Date Start of Week =
DATE ( YEAR ( Dates[Date] ), 1, 1 )
+ QUOTIENT ( DATEDIFF ( STARTOFYEAR ( 'Dates'[Date] ), Dates[Date], DAY ), 7 ) * 7Regards,
Marcus
Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Marcus,
Amazing!! Thank you so so much for your help again!
Sarah
@Anonymous
Sarah,
Was this post not helpful? Looks like you asked the same question and @amitchandak already answered it.
https://community.powerbi.com/t5/Desktop/Weekly-start-each-year-on-1-1/m-p/874778
This was helpful, but it did not group the full week for each year starting on 1/1.
For example, in 2013, there were only 5 days in the week "1/1" since the week in the formula given started on sunday, and sunday was 12/30/2012.
I wanted to display 7 days in the week 1/1 for all years
Sarah
Hi @Anonymous
i don't understand what is wrong?
Regards,
Marcus
Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
oh this reply was for the previous comment not yours..
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.