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
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
GregDeckler

How to Get Your Question Answered Quickly

Power BI Super User, Greg Deckler, explains

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Back to School Contest

Back to School Contest

Engage and empower students with Power BI!

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Ideas
Users Online
Currently online: 36 members 982 guests
Please welcome our newest community members: