Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have Straight table with two columns, one column is "Balance" with Full Accumulation, another "Consumptions" with No Accumulation. How I can divide Balance with Consumption columns:
Thanks.
With the option Full Accumulation the value that is divided is not the accumulated value, but the individual value, so I would change strategy to use the rangesum(above()) formula to accumulate the balance and then your ratio calculation should work.
Regards.
With the option Full Accumulation the value that is divided is not the accumulated value, but the individual value, so I would change strategy to use the rangesum(above()) formula to accumulate the balance and then your ratio calculation should work.
Regards.
Pavel,
What are you trying to acheive? If you want to divide balance by consumption and you want to use calumns then column (3) / column (2)
or
[Balance] / [Consumption]
Hello,
Thanks for solution, rangesum(above()) calculated well, but need to write also steps and SUM. Formula look like:
rangesum(above(sum({<[Operation type]={consumption}>}[Quantity],0,99)
99 is steps how many rows need calculate.
Hi,
Check out the attach application for Range Sum calculation
Hello,
Sample.qvw also very good solution to make full accumulation for one column with Quantity, but if need to calculate diferente colums with diferente types like Consumption, Sales, Purchase and Output. Formula will be like:
rangesum(above(sum({<[Operation type]={consumption}>}[Quantity],0,99) +
rangesum(above(sum({<[Operation type]={Sales}>}[Quantity],0,99) + ......
Thanks for help it is work well.