Skip to Content
author's profile photo Former Member
Former Member

Calculating average of opening and closing stock month wise

Hi Experts,

I need to calculate average of stock month wise in bex designer. Can you pls guide me how can i design my report.

Input will be Fiscal year. Output should be average stock month wise for that fiscal year.

Average stock = (closing stock of previous month last day+closing stock of present month last day)/2

Eg. for April.2017 average stock is (stock on 31.03.2017 + stock on 30.04.2017)/2

Thank you in advance.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 05, 2018 at 09:56 AM

    Hi,

    Just an idea.

    For example, you have a fiscal year of 2017.

    How about having a fixed 12 RKF representing the closing stock of December 2016 to November 2017. Then using them, you can already achieve your formula? For the month, you can do a CMOD so that your variable will know what month and year will it get based on the input fiscal year.

    Regards,

    Loed

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.