@burliad
In PowerApps, it is far easier to put your calculations in your data rather than in your formula. So, utilize the Items of the Radio control to provide the data for your formula.
Change your Items property of your Radio Control to:
With({_startOfWeek: DateAdd(Today(), -Weekday(Today(), StartOfWeek.MondayZero)),
_startOfMonth: Date(Year(Today()), Month(Today()), 1)},
Table({Value: "This Week", StartDate: _startOfWeek, EndDate: DateAdd(_startOfWeek, 6)},
{Value: "This Month", StartDate: _startOfMonth, EndDate: DateAdd(DateAdd(_startOfMonth, 1, Months), -1)},
{Value: "Show All", StartDate: Blank(), EndDate: Blank()}
)
)
Then set your Items property of your Gallery to:
Filter('PM - RK Project Schedule',
(IsBlank(Radio1.Selected.StartDate) || ('Milestone Date' >= Radio1.Selected.StartDate)) &&
(IsBlank(Radio1.Selected.EndDate) || ('Milestone Date' <= Radio1.Selected.EndDate))
)
I hope this is helpful for you.