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

Announcements

News and Announcements icon
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
    Microsoft Employee 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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard