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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 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.