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

Calculalting Average over period of 2 months

Hi all,

In my cube, i am having the monthly availablity % of an equipment.

In the query i need the number of equipments with availability > x% over the period of two months.

The user will enter the year and the report will display the number of equipments in each month, with the average availability > x% over two months period, ie for February it should display the no. of equipments with average availability > x% in January & February, and so on.

How can I achieve it?

Any help would be appreciated.

Thanks & Regards,


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Sep 29, 2005 at 06:11 AM

    Hi Ankit,

    In general, you can create additional column with average calculation and then apply condition build on this column.

    But, as far as I understood, you need to show for January average for January and December of the previous year, for February - average for February and January, for March - average for March and February etc. What if one of these averages for different months will comply with your condition, and the others - will not? What the report should show?

    Best regards,


    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.