I’m looking to display expenses based on these timeframes: Today, This Month, This Year (based on this tutorial https://www.youtube.com/watch?v=pApLeMYHFzE).
Here are my expenses data table and Work data table
Expenses data table
Work data table
I already created a rel_expense column that relates the input This Month, This Year, etc. to the timeFrame array storing month, year, week, etc. of the expense date.
On my layout, when I select “This Month”, the output returned is correct
But it is blank/not correct when I select “This Year” or “This Week”,
Any idea what issue I might be encountering? Thanks!