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

LEAF Operation

Can someone send me a good example of the LEAF function being used in a Calculated Key figure. I understand that the LEAF function returns 1 for leaves and 0 for aggregated nodes. I would like to see it used in a calculation.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 20, 2004 at 08:55 PM


    it is just a simple as you said. If you put a normal calc.key figure in a column and a hierarchy in the row, then the column would show results for everything. However, the calculation might be relevant for the lowest level only (leafs). Therefore you can multiply the original formula with LEAF(). As a result all nodes will be 0 (which can be hidden).



    SAP NetWeaver RIG, US BI

    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.