Thanks very much, your code made senses to me and I can see it will work, but doesn't work in my application unfortunately, possibly due to me explaining my issue incorrectly so let me try & put it differently.
SP List: CWAS_AdvisorActivityTracker
Columns:
Advisor (person column)
WeekStart (date and time column, but as a Short Date, no time included)
WeekEnd, (date and time column, but as a Short Date, no time included)
No. of Referrals
No. of Telephone calls
No. of Appointments
Fees Earned, etc, etc.
There's about 15 or 16 columns
Now currently in my App, I have a Gallery with all the columns from my SP list.
Then I have 2 date pickers which when I select a WeekStart date, it filters and displays the values of all the columns that are entered in that specific date in the Gallery. This is the code:
Filter(CWAS_AdvisorActivityTracker; WeekStart >= DatePicker2_2.SelectedDate && WeekEnd <= DatePicker3_2.SelectedDate)
I now want to create 2 Dropdowns for Month & Year and use the same principle as above which is when I select a month & year, the app filters all values for the specific month and year, sums it up, and displays it for me, per all the columns.
Perhaps this will be easier to do, I'm hoping 😞
OR, I would need to edit my existing code above to somehow do this and not use dropdowns?
I'm thinking the 2 dropdowns would be easier so that I can then choose if I want to see values per week or summed up values per month.
Really hoping someone can assist with this. It's taking so much time, I have a huge headache 😞