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

aggregated result as key figure

Hello Experts,

I hava to design a bex query for which i need to write an if condition.

In that If condition the metric(logical value) is sum of all the values assosiated with drill down.

For example: i have a query with 10 companies as rows and their units for different months as colums, now i need to create a formulae(if condition) where i need aggreated value of all the shipments for specific month associated with all companies(overall result). How can i include the overall result value in formulae as it isnt a specific keyfigure/selection.

company Units 2007 Units 2008 Units 2009 Units 2010

xxx 1 2 3 4

yyy 5 6 7 8

zzz 9 10 11 12

Overall resul P Q R S

I need to write condition on the overall result(p,q,r,s) which actually came from bex(not specific key figures).

please help me in this issue, i was almost loosing my hair with this issue.

Thanks

Prashanth

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2009 at 11:18 PM

    company Units 2007 Units 2008 Units 2009 Units 2010

    xxx 1 2 3 4

    yyy 5 6 7 8

    zzz 9 10 11 12

    Overall resul P Q R S

    I need to write condition on the overall result(p,q,r,s) which actually came from bex(not specific key figures).

    please help me in this issue, i was almost loosing my hair with this issue.

    Thanks

    Prashanth

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2009 at 11:39 AM

    Hi Karthik,

    If the number of companies and number of months used for reporting are fixed, Then you can do this using cell definition concept. The process would be:-

    Say if you are interested in only 10 companies and 4 months, then you need to define a matrix like format using two structures.

    one structure will contain 10 rows each restricted to a specific company, another structure will have 4 columns each restricted to a month. This will give a total of 40 cells. and an additional 4 RESULT cells. Now you can define you if condition to work as you want on these 4 result cells using cell definitions.

    Note:- this is possible only when the number of companies and months taht you are interested in are fixed.

    Hope this helps you.

    Thanks & Regards,

    Nithin Reddy.

    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.