I want to calculate age of Order based on Order create date. I am having order create date as key figure date in Order cube. Age is calculated at runtime as (Last day of month) - Order create Date. For Example.
If ORder 'A' is created in 10/01/2004 and if query is executed at 12/31/2004 then Query should produce output as follows:
Order Number Month Age
A 10/2004 31 Days
A 11/2004 61 Days
A 12/2004 92 Days
In my infocube I've only one record for this order with Order number and Order create date. How to produce above mentioned o/p from this.
Thanks,
Milind
Hi Milind,
if you are looking for a web solution, use a table interface to create a new column for the age. You can calculate the value for the order age with the table interface, too. An advantage of this table interface solution is, that you can concatenate your unit [days] into the output range, like "31 Days".
For BEx Analyzer, you can create a VBA macro to get the same advantage...
rgds Jens
Add a comment