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! Go to Solution.
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])))
User | Count |
---|---|
41 | |
29 | |
24 | |
24 | |
13 |