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

See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap

Reply
CloudMonkey
Post Prodigy
Post Prodigy

Change first day of week for weekly bins

Hi,

 

I have some data grouped into weekly bins (every 7 days) which is working great but I noticed the first day of each 7 day bin is a Sunday. Please can you tell me how to change this to a Monday?

 

Thanks,

 

CM

1 ACCEPTED SOLUTION
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @CloudMonkey 

You may create a calculated column like this post.

Column = 
VAR d =
    MAX(  Table2[date] )
RETURN
    d
        - QUOTIENT ( DATEDIFF ( Table2[Date], d, DAY ), 7 ) * 7

Regards,

Community Support Team _ Cherie Chen
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

1 REPLY 1
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @CloudMonkey 

You may create a calculated column like this post.

Column = 
VAR d =
    MAX(  Table2[date] )
RETURN
    d
        - QUOTIENT ( DATEDIFF ( Table2[Date], d, DAY ), 7 ) * 7

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.