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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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
Memorable Member
Memorable Member

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)


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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