Forum Discussion

NewbieJono's avatar
NewbieJono
Icon for Post Partisan rankPost Partisan
2 years ago
Solved

Totals on a Daily Level

Hello, i want a result to look at each table on a daily level and apply a set of rules for each day, then give total result.

 

for example. Volume Table

 

DateVolume
01/01/202310
02/01/202310
03/01/202310
04/01/202310
05/01/202310
06/01/202320
07/01/202320
08/01/202320
09/01/202320
10/01/202320

 

sample Rate table

 

DateSample Rate
01/01/20230.5
02/01/20230.5
03/01/20230.7
04/01/20230.7
05/01/20230.7
06/01/20230.7
07/01/20230.9
08/01/20230.9
09/01/20230.9
10/01/20230.9

 

Expexted Results 

 

DateVolumeSampleRateTotal
01/01/2023100.55
02/01/2023100.55
03/01/2023100.77
04/01/2023100.77
05/01/2023100.77
06/01/2023200.714
07/01/2023200.918
08/01/2023200.918
09/01/2023200.918
10/01/2023200.918
   117