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

ReportBex - Monthly Formula differente than Total Formula

Dear all,

I would like to create a report on which one I have a monthly formula different than this total formula.

For example :

Monthly formula : 1-ABS(forecast-sales)/sales

May 2004 : 91 %

Jun 2004 : 89 %

Jul 2004 : 80 %

Total formula : 1-SUM(Abs(forecast-sales)(month))/SUM(Sales)

The interval of month will be dynamic. from 2 to 12 month oculd be selected.

The total will be calculated in function of the month display/selected.

If anybody could give me some idea of development for this query. You're will be welcomed !!!

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Feb 24, 2005 at 04:37 PM

    I think you can solve this using a structure.

    First make a general filter for the query for your month selection (interval variable).

    Next create a structure containing the months and filter each month on a fixed value (1, 2, 3, 4,...). If the month is outside the interval mentioned in the filter it will not be shown (no data because no union in the filter), and columns without data are not shown.

    As last column in your structure you can than create your formula (using the total functions available in the editor).

    If this is still not flexible enough, you could even use the cell editor.

    kr,

    Tom

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2005 at 10:53 PM

    Hi There,

    My Guess is that since you are using percentages, you do not want to add them up, but take the average of the individual monthly values.

    <b>Try this if you want to include all months displayed..</b>

    Key Figure -> (right click) properties -> Calculations, Calculate Results as -> Average of All Values

    <i>[The average (sum divided by total number of values) of all the values for the corresponding area is displayed as the result.]</i>

    <b>Try this if you want to include only the months where the percentage is other than 0..</b>

    Key Figure -> (right click) properties -> Calculations, Calculate Results as -> Average of All Values <> 0

    <i>[The average (total divided by number) of all values for the corresponding area is displayed as the result, with the exception of zeroes, meaning that values equal to 0 are not counted.]</i>

    Let me know if that helped!

    Rishi

    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.