cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Raji_Munoli Visitor
Visitor

How to create a table of weekend dates?

How can I create a table that lists out all the Friday dates, starting from Friday of the Friday date from another table to the last Friday date (that occurred before today)
1 REPLY 1
Highlighted
hnguy71 Member
Member

Re: How to create a table of weekend dates?

You will need to harvest what day of the week Fridays land on. Assuming your weekday starts on Monday:

 

WeekDay Number = WEEKDAY(Sheet1[Column1], 2)

This would give all your Fridays as 5.  From there you can summarize to give out only your Fridays.

 

MyFridays = CALCULATETABLE(SUMMARIZE(Sheet1, Sheet1[Column1]), Sheet1[WeekDay Number] = 5)

Helpful resources

Announcements
Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 288 members 3,356 guests
Please welcome our newest community members: