Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

accumulated sum of numbers

First sorry for my english..

I have this table

person date number

A 23/03/2010 5

24/03/2010 3

25/03/2010 6

B 23/03/2010 1

25/03/2010 2

I need to create a new filed on the chart that makes the partial sum of the number so it has to show like this

person date number ACUM

A 23/03/2010 5 5

24/03/2010 3 8

25/03/2010 6 14

B 23/03/2010 1 1

25/03/2010 2 3

thanks for all.

6 Replies
Not applicable
Author

Hi,

it depends on the object you will use.

A straight table provides this option. See the screen shot.

Rainer

Miguel_Angel_Baeyens

Hola Txetxu,

Te dejo la expresión que uso para calcular acumulados:

rangesum(above(Sum(NETO), 0, rowno()))


En tu caso, debería existir en la tabla pivotante o en la tabla simple una dimensión que fuese "Persona"

Saludos.

Not applicable
Author

thanks for all. That ok Miguel.

another question ... i don´t know if it can be do it,

i want to know if it can be doi it the partial sum...

otra pregunta .. que no se si se podra hacer...

se puede hacer la suma total, es decir que aparezcan las suma parciales.. como cuando haces

=SUM(numero)

Thaanks.

Miguel_Angel_Baeyens

Depende de cómo tengas el gráfico. Si haces una tabla simple, por ejemplo, y si quieres sacar el total de cualquier columna, puedes indicarlo en la pestaña "Expresiones", "Modo Total" y seleccionas "Suma de Filas". ¿Es eso lo que buscas?

Not applicable
Author

Tengo un pivot table

Miguel_Angel_Baeyens

Entonces deberás crear una expresión aparte para que lo calcule. Si tienes una columna Ventas y otra Acumulado, la expresión debería ser

rangesum(sum(Ventas),above(Acumulado))
ya que hasta donde sé las tablas pivotantes no dejan mostrar el total de un acumulado (las tablas simples sí, por eso pregunté).

Saludos.