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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
em0840
Frequent Visitor

Help with Calendar

I have a 2 Year data which is daywise . I would like to present it weekwise but my week dont start From Monday , I want it start from Saturday and end on Friday . What is the easiest way ?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @em0840 ,

 

You can add three calculated columns to realise.

The first column is to get the date of Saturday.

Saturday = IF(WEEKDAY([Date],2)=6,[Date])

The second columns is to fill down the date.

FillDown = CALCULATE(LASTNONBLANK('Table'[Saturday],1),FILTER('Table',[Date]<=EARLIER('Table'[Date])))

The third column is to rank by the dates. And the result is the week numbers.

WeekNum = RANKX('Table',[FillDown],,ASC,Dense)

vstephenmsft_0-1646635752833.png

 

 

Best Regards,

Stephen Tao

 

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

2 REPLIES 2
Anonymous
Not applicable

Hi @em0840 ,

 

You can add three calculated columns to realise.

The first column is to get the date of Saturday.

Saturday = IF(WEEKDAY([Date],2)=6,[Date])

The second columns is to fill down the date.

FillDown = CALCULATE(LASTNONBLANK('Table'[Saturday],1),FILTER('Table',[Date]<=EARLIER('Table'[Date])))

The third column is to rank by the dates. And the result is the week numbers.

WeekNum = RANKX('Table',[FillDown],,ASC,Dense)

vstephenmsft_0-1646635752833.png

 

 

Best Regards,

Stephen Tao

 

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

amitchandak
Super User
Super User

@em0840 , Create a calendar and create a week starting from Saturday using my blog

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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