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
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 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!
WarrenBelz
146,662
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,004
Most Valuable Professional