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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

How to set week end day in Power Query

Hello,

 

I am trying to add a column for "week end date" via Power Query.  On the Transform Ribbon, I selected Date > Week > End of Week and it added the column.  However, it is showing weeks ending on Saturday's and I need it to end on Sunday's.  How do I change the 'day' used for the week end date?

 

Thank you!

1 ACCEPTED SOLUTION
Zubair_Muhammad
Community Champion
Community Champion

Hi @Anonymous 

 

Add a custom column instead.

 

=Date.EndOfWeek([PutDateColumnNamehere],0)

Regards
Zubair

Please try my custom visuals

View solution in original post

3 REPLIES 3
Zubair_Muhammad
Community Champion
Community Champion

Hi @Anonymous 

 

Add a custom column instead.

 

=Date.EndOfWeek([PutDateColumnNamehere],0)

Regards
Zubair

Please try my custom visuals

I just found this post because I am looking for a similar solution.  This is exactly what I would like to do, but ideally I would want to add this customer column to the Date Table I created.  Is it possible to do this?  The Date Table is not listed in the Power Query Editor.

Anonymous
Not applicable

Did you add the date table via Power BI desktop?  If so, it will not be available for modifications in PowerQuery.  You could set the week end date in the table in Power BI desktop, though.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

Top Solution Authors
Top Kudoed Authors