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

Averages Based on # of Deliveries and # of Days Delivered

Ok Guru's Try to solve this one.

I have a cube that has in it the following characteristics.

1. Date Delivered

2. Delivery Type.

And the following Key figures.

1. Quantity Delivered

And the following Time Characteristics

1. Weekday

2. Month

3. Calendar Day

4. Quarter

The cube has 3 years worth of data and a few other fields.

My users want to see delivery averages between 2 inputed dates.

So therefore user puts in date range 1/2/2004 - 12/31/2004.

The query should return the average quantity delivered by delivery type. They then want to be able to drill down by day of week, month, cal day, quarter etc.

The problem I have is if I use customer exit to calculate the number of days between the days, it is a fixed value that does not vary based on drill down.. Any suggestions would be welcomed.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 11, 2005 at 02:19 PM

    Can't you use the key figure property: calculate single value as --> average when designing the query?


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello, I think you want to calculate an average of the displayed values each time. The displayed values are the values that meet those drilldown selection, ¿isn't it?

      Well I think you can calculate this setting in the definition of the calculated key figure, exactly in "Attributes", there is a tab called "Calculates (include only displayed values" where you can set "Calculate result as..." ---> Average of all values.

      I do this in my query but the problem is that I can't get the calculated average in SEM, because SEM retrieves the average of all values without paying attention to the displayed ones.

      I'm looking for a way to tell a restricted key figure to take only the displayed values and not all. Do you know if there is a standard variable that contains this information?

      Well I hope this help you and, maybe you or any other GURU can help me with my problem.


      Carlos Hinestrosa.

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.