Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

creation of a column with the accumulated

Hello:

I have a problem about the creation of a column with the accumulated value when the table has more than one dimension (I'm not sure if this will be a hindrance).

I want to create a new column with the cumulative sales, called %VENTAS ACUM, whose expression % is (Sum (VALOR_NETO_MOV) / Sum (TOTAL VALOR_NETO_MOV)), the problem is that when I want to create this column selecting "full accumulation" is not generated and it shows the same as the column %VENTAS, that it has the same expression without "full acumulation". In this table I have 2 dimenssions,

Now I found that when using only one dimension that I have on my my table, the results of %VENTAS and %VENTAS ACUM are correct.

I tried with the formula IF(Rowno () = 1, [% row] [% row] + above ([% Cumulative row.])), but the results of %VENTA and %VENTAS ACUM are the same too,

HELP ME PLEASE!!

16 Replies
Not applicable
Author

Sebastian, intenté con la formula que me sugeriste, pero sigue arrojando el mismo valor que la columna % VTA, mira te adjunto la tabla con los datos que tengo y necesito que la columna % VTA ACUM, sea el acumulado de la columna % VTA.

la formula de la columna % VTA es Sum (VALOR_NETO_MOV) / Sum (TOTAL VALOR_NETO_MOV), necesito generar ese acumulado, he intentado de miles de formas pero aún no logro el resultado esperado.

whiteline
Master II
Master II

Why don't you want to try the one I've suggested ?

Not applicable
Author

Lo hice y genera el mismo valor que la columna % VTA, no hay cambios.

whiteline
Master II
Master II

Could you post your sample qvw ?

sebastiandperei
Specialist
Specialist

Tiene razón whiteline

Poné, en la expressión %VTA, Sum(VALOR_NETO_MOV)/Sum(TOTAL VALOR_NETO_MOV)

En la expresión % VTA ACUM poné lo mismo, pero tildá donde dice "Acumulación Completa. Para esto no te olvides que no puede ser una tabla pivotante.

Si no, la otra fórmula que pasó whiteline para % VTA ACUM también está bien:

=RangeSum (Above(Sum (VALOR_NETO_MOV)/Sum (TOTAL VALOR_NETO_MOV), 0, RowNo()))

Not applicable
Author

Sebastian, intente todo, la tabla que adjunte es una tabla simple, por ende debería funcionar lo de acumulación completa, pero no fue así (fue lo primero que hice), intente con todas las formulas que me han enviado y todas generan el mismo valor que la columna % VTA, ya no se que expresión ocupar, muchas gracias igual por la ayuda, es un dilema que aún no puedo resolver.

sebastiandperei
Specialist
Specialist

Tendrías que enviar una copia reducida, porque lo más probable es que haya otro error.

Sabés cómo hacer? Si no, cuánto pesa?

Si es muy pesado el qvw, seleccioná algún valor que reduzca considerablemente los datos, pero que esta tabla siga teniendo sentido, luego vas a Archivo, Reducir, Mantener valores posibles. Das aceptar, y luego guardás con otro nombre y lo enviás!