
Trying to create a chart that filters all of my task hours by week.
The tasks are a single choice on sharepoint lists, they have an amount of hours associated with it and a date
ClearCollect(
colDate,
AddColumns(
GroupBy(
Filter(
'PSE Project Task Tracker',
'Date of Project task time' >= _FirstDayofWeek && 'Date of Project task time' <= _FirstDayofWeek +7 && (User().Email = 'Created By'.Email)
),
"Project Task1",
"GPTask"
),
"CountbyTask",
CountRows(GPTask)
)
);
How would i go about doing this?