How to sum values by period based on the start and end date

Hi I have two tables (operations) and (invoice) are linked . the invoice id as foreign key , I am trying to put a formula that can sum total column based on the start date and end date

Solved Solved
0 2 192
1 ACCEPTED SOLUTION

This following link may help you to construct

Sample App : Sum by date

OR in details

View solution in original post

2 REPLIES 2

This following link may help you to construct

Sample App : Sum by date

OR in details

suponiendo que tu tabla se llama โ€œdineroโ€ y tus columnas dentro de la tabla dinero son importe y fecha tendrias que tener aparte otra tabla donde quieres que se muestre el reporte con las columnas โ€œfecha delโ€ โ€œfecha alโ€ โ€œimporteโ€ con tu pondrias la siguiente formula dentro de la columna importe en la tabla de tu reporte seria asi:
SUM ( SELECT (Dinero[importe], and([fecha] >= [_THISROW].[fecha del],[fecha]<=[_thisrow].[fecha al])))

Top Labels in this Space