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 Apps / Getting nth Week in a ...
Power Apps
Answered

Getting nth Week in a month

(0) ShareShare
ReportReport
Posted on by 17

I am looking to create a collection similar to a question posed on the PowerBi forum but using Powerapps.

I am looking to see if Today() falls under which week in a month as we need to lock buttons depending on which week of the month it is

dalecombrink_0-1670494728037.png

 

Categories:
I have the same question (0)
  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    @dalecombrink I didn't find a native function that could solve this.

    However, I used the WeekNum() function that retrieves the current week of the year as a number.

    With the function below we check the current week value and decrease it with the value of the week before the start of this month:

    WeekNum(
     Today(),
     StartOfWeek.Monday
    ) - (WeekNum(
     Date(
     Year(Today()),
     Month(Today()),
     01
     ),
     StartOfWeek.Monday
    ) - 1)

     

    I hope this helps!

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 414

#2
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard