hi @Rai_Cornell ,
Maybe the approach below provides some inspiration, first the code part for this year, but to test you may want to put it on 10 days
Sequence(Date(2024,01,01),Date(2024,12,31)).ForEach(CurrentValue.WithName(theDate,
[DB Frequency].ForEach(CurrentValue.WithName(theFrequency,
[DB Activity].ForEach(CurrentValue.WithName(theActivity,
[DB Tracker].AddRow(
[DB Tracker].theDate,theDate,
[DB Tracker].theWeekdayName,theDate.WeekdayName(),
[DB Tracker].theWeekNumber,theDate.WeekNumber(),
[DB Tracker].theMonthName,theDate.MonthName(),
[DB Tracker].frequency,theFrequency,
[DB Tracker].activity,theActivity
)
)
)
)
)
)
)
when you press the button you get what you see below (when you have a table matching the values)
as you see we have many times the same date and other values as well.
as you see, I created relations for most columns. Relations are powerful compared to select list.
It may take some time to see through, but when you start with a copy - paste (button on the canvas for the code, the tables) you will get the feeling.
I had a look at the contribution of @Piet_Strydom , it is interesting if you know well enough what you are looking for. It is all about getting started.
Cheers, Christiaan