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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
EricHyon
Frequent Visitor

ISO Format with Weeks Starting Sunday

I am creating reports where I must use ISO format where the first week of the year is the first Thursday of the year, but I need to have the weeks starting Sunday. 

 

I have found temporary ways to solve this problem but looking for a permanent solution where I do not have to constantly customize the formula every year

In the image below, the dates for 1/1/2021 and 1/2/2021 should be considered Week 53.

For Dates 1/3/2021 and on, the weeks should be subtracted by 1. 

 

Date.png

1 ACCEPTED SOLUTION

Hi @EricHyon ,

 

Please refer to the same thread:

https://community.powerbi.com/t5/Desktop/Leap-year-week-number/m-p/1588002 

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@EricHyon , Iso week can find as

 

ISO Week = weeknum([Date],21)

See if this can help

if needed also check

Any Weekday Week - Start From Any day of Week
https://community.powerbi.com/t5/Community-Blog/Any-Weekday-Week-Decoding-Date-and-Calendar-2-5-Powe...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks for the reply. Unfortunately, this solution has the 1st week starting on Monday 1/4/2021. I was looking for a solution where the 1st week starts on Sunday 1/3/2021.

Hi @EricHyon ,

 

Please refer to the same thread:

https://community.powerbi.com/t5/Desktop/Leap-year-week-number/m-p/1588002 

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors