Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
RaulRodenas
Contributor
Contributor

Crear suma acumulada por meses

Hola

Tengo una duda, haber si me podeis ayudar.

Necesito hacer un sumatorio parcial por meses, es decir, tengo una tabla con los movimientos de almacen de todo el año y necesito poder totalizarlos mes a mes, pero acumulando para saber el valor que tengo en cada mes de stock.

La idea es tener una columna con el stock y en fucion del mes filtrado ver el stock que hay a ese mes (que debe de ser la suma de todos los anteriores)

Gracias

2 Replies
Channa
Specialist III
Specialist III

in your measure expression use month<= selected month

RangeSum(Above(Sum(Sales), 0, RowNo()))

this will do range sum

Channa
RaulRodenas
Contributor
Contributor
Author

Hi Channa

Gracias por tu respuesta.
Pero no consigo hacer lo que quiero, voy a explicarlo de nuevo.

En la tabla tengo todas las entradas y salidas de cada mes, y necesito poder saber cuando indico un mes en concreto en el panel de fitrado obtener el valor de suma de los movimientos al mes anterior al seleccionado que seria el stock a principio de mes y el valor incluyendo el mes seleccionado que seria el stock a final de mes seleccionado.

---

Thanks for your answer.

But I can not do what I want, I will explain it again. In the table I have all the entries and exits of each month, and I need to be able to know when I indicate a specific month in the fitrado panel to obtain the sum value of the movements to the month previous to the selected one that would be the stock at the beginning of the month and the value including the selected month that would be the stock at the end of the selected month.