Hi,
I want to create a cumulated value in my Dataflow, not with a Yearly Cumulated Value, or with a Yearly Moving Total.
I think it is a basic function in particular for inventory but I don't find it.
Thanks
Hi Sébastien LEGER,
This sounds similar to Wahyu Nugraha's question about Summary All Data Until Date Selection. As I mentioned there, consider using the cycle property is a useful time function to control exactly how many prior periods are included in the sum. By default cycle=1. Cycle denotes how many periods are included in the sum, at the axes time grain. If we're looking at monthly data, with a cycle of 36, we will see a sum of the last 36 months of data.
it's not as easy as it it may seem to cumulate values in a dataflow since dataflows always work in "replace"-mode. So you might consider extracting your data to an ASCII file and re-importing the values using the "blank" option as opposed to "replace"--this will add up.
...just an idea...
Kind Regards,
Helmut
is there a cetain reason why you can't use YCV? Do you want to make the cumulation not on time entity?
Regards
Björn
Hi Björn,
I need the cumulated value for all the life of my article, for a long time.
Example:
It is perfect for 2013 but after the calculation is new for the new year.
So the simple "Accumulated Value" is OK for me.
than just use the ycv with a very high cycle value (9999), so the cumulation is only restarted after this number of time periods (details you can find in our manual: Time functions )
I tried this solution but it doesn't work. I have the same result.
Regards,
Sébastien.
is your cube structured on Week level? Can you please try if its working with Month in by row instead of week?
My cube is structured on day level.
When I choose Month, it's the same result, with a cycle with 9999 value.
I tried with YMT(not YCV) and a cycle with 9999, and it works, but it is a long calculation : around 2 minutes 30 sec. with a Core I7 versus 15 seconds with YCV without cycle.
I will search another solutions for my customer.
Thanks a lot Björn,
Hi Sébastien LEGER
I Also have some problem, that is solution is work but time execution long calculation.
And I try the another solution, but it must create temp cube with procedure.
So workaround, i cut off a transcational and make ending balance each year.
Cumulated Previous Year transaction store to First day Next Year(temp cube)
So If i want Show Stock per Year just "Sum temp cube" with yearly moving total + "selection Year transaction".
Hi Sebastien,
I had to do this a while ago to chart a cummulated 'project to date' value which could go over multiple years. I did it with a Nexel Writeback, and it was done 'on-the-go' to calculate for an individual project when the user requested the chart.
I'm not sure of your requirements but it is another option to possible look at.
A warning though: Nexel writeback, even though it is called in a procedure, is only able to be run by a Lite+ user or above.
I noticed Yearly Moving Total and YCV functions are not very efficient when a 128-bit sparsity is used. This is supposed to be improved in Board 11 but in the mean time, I optimized some structures (more dense entities in some cases) to avoid 128-bit sparsity and as a result, the dataflows and layouts using Time cumulating functions are much faster.