@Anonymous
If you try to FILTER a date in SharePoint you will run into delegation issues. You must create 3 new Number columns in SharePoint createdYear, createdMonth, createdDay. For new every record that gets created you must populate these values. (e.g. 2/26/2019 becomes createdYear: 2019, createdMonth: 2, createdDay: 26).
Put this code in the OnVisible property
Set(
currentDate,
{
Year: Year(Today()),
Month: Month(Today()),
Day: Day(Today())
}
)
Then you use this code to count the rows
CountRows(
Filter(
your_datasource_name,
Status.Value = "Approved",
createdYear = currentDate.Year,
createdMonth = currentDate.Month,
createdDay = currentDate.Day
)
)
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."