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
Soufiane_M:
sum total
This following link may help you to construct
Sample App : Sum by date
OR in details
              
              
              1 Like
            
            
          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])))
              
              
              1 Like
            
            
          