web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get all date for the w...
Power Automate
Answered

Get all date for the week of the selected month

(0) ShareShare
ReportReport
Posted on by 115

Hi, 
Any way to get all dates for the week of the selected month?

For example. I would like to know all the date for week 1 in February?

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @pityman ,

     

    I've made a test for your reference:

    My flow:

    vbofengmsft_0-1664441815963.png

    1\

    dayOfWeek(last(variables('DataArray'))['Date'])
    2\
    addDays(last(variables('DataArray'))['Date'],1)
     

    Result:

    vbofengmsft_1-1664441875833.png

     

    Best Regards,

    Bof

     

  • pityman Profile Picture
    115 on at

    Brilliant!! Can i know if we can filter by no. of week as well? for example we only get the dates for week 1 

  • v-bofeng-msft Profile Picture
    on at

    Hi @pityman ,

     

    There is no such an OOB weeknum function in power automate. But you can get weeknum by dividing dayOfYear by 7.

     

    Best Regards,

    Bof

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 305 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 155 Most Valuable Professional

Last 30 days Overall leaderboard