• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Bex Query Designer Calculated And Restricted Key Figures | http://sapdocs.info
 

Bex Query Designer Calculated And Restricted Key Figures | http://sapdocs.info

on

  • 41,971 views

Download this slide from http://hotfile.com/dl/30299200/a595a82/BEx-Query-Designer-Presentations-for-Beginners.rar.html

Download this slide from http://hotfile.com/dl/30299200/a595a82/BEx-Query-Designer-Presentations-for-Beginners.rar.html

Want to get more SAP Documents ? Visit http://sapdocs.info

Statistics

Views

Total Views
41,971
Views on SlideShare
41,178
Embed Views
793

Actions

Likes
17
Downloads
0
Comments
0

23 Embeds 793

http://www.erp-bi.com 422
http://abap-hribo.blogspot.com 155
http://www.slideshare.net 113
http://abap-hribo.blogspot.in 29
http://abap-hribo.blogspot.de 15
http://abap-hribo.blogspot.sk 13
http://abap-hribo.blogspot.fr 7
http://abap-hribo.blogspot.co.uk 5
http://www.techgig.com 5
http://abap-hribo.blogspot.kr 5
http://abap-hribo.blogspot.ca 4
http://abap-hribo.blogspot.com.br 4
http://abap-hribo.blogspot.com.es 4
http://abap-hribo.blogspot.mx 2
http://abap-hribo.blogspot.hu 2
http://abap-hribo.blogspot.no 1
http://abap-hribo.blogspot.com.au 1
url_unknown 1
http://abap-hribo.blogspot.ru 1
http://abap-hribo.blogspot.cz 1
http://abap-hribo.blogspot.dk 1
http://abap-hribo.blogspot.gr 1
http://www.google.com 1
More...

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Bex Query Designer Calculated And Restricted Key Figures | http://sapdocs.info Bex Query Designer Calculated And Restricted Key Figures | http://sapdocs.info Presentation Transcript

    • BEx Query Designer Unit 3: Calculated and Restricted Key Figures 7/17/2007
    • What is a Restricted Key Figure?
      • Restricted key figures are (basic) key figures of the InfoProvider that are restricted (filtered) by one or more characteristic selections.
      • Filter vs. Restricted Key Figure?
      • Filter
        • restrictions are valid for the entire query
      • Restricted Key Figure
        • only the key figure in question is restricted to its allocated characteristic value or characteristic value interval
      • Examples:
        • Last Month’s Sales Amounts
        • Tons Shipped to Customer ABC
    • Defining Restricted Key Figures
      • When defining a restricted key figure, you want to select the restricting characteristics , individual characteristic values , value ranges , hierarchy nodes , or characteristic variables .
      • You can include values in the selection or exclude values from the selection by selecting these options in the context menu of the relevant filter value.
      • When selecting value ranges, the following operations are available:
        • Between
        • Greater than or equal to
        • Less than or equal to
        • Greater than
        • Less than
    • Formulating Selection Conditions
      • The characteristic values available in the Fixed Values window are restricted to 100 values by default. Click Display Other Values to modify this restriction.
      • Choose the attribute, operator, and characteristic value to formulate a new selection condition.
      • Example:
        • Display all products with the text toothpaste in the name
        • If you set the Number of values displayed to All, and there are a large number of characteristic values, this may cause a long wait when selecting values.
      Heads Up!
    • What is a Calculated Key Figure?
      • You can use a formula to calculate key figures that are not in the InfoProvider by using basic key figures, restricted key figures, and existing calculated key figures in the formula definition.
      • Percentage Functions
        • Percentage Variance ( % )
        • Percentage Share ( %S )
        • Percentage Share of Result ( %CT )
        • Percentage Share of Overall Result ( %GT )
      • Data Functions
        • Count [ COUNT(<Expression>) ]
        • Division by Zero [ NDIV(<Expression>) ]
        • Result [ SUMCT <Operand> ]
        • Overall Result [ SUMGT <Operand> ]
        • Report Result [ SUMRT <Operand> ]
      • Mathematical Functions
        • Maximum
        • Minimum
        • Absolute Value
        • Smallest integer value larger than operand
        • Division (integers)
    • Defining Calculated Key Figures
      • You can use all basic key figures of the InfoProvider in question, as well as the newly defined restricted and calculated key figures of the InfoProvider, to define new calculated key figures.
      • You can use the following boolean operators to create conditional calculations (IF-THEN-ELSE):
        • Relational Operators (<, <=, <>, ==, >, >=)
        • Logical AND (AND)
        • Logical OR (OR)
        • Logical Exclusive OR (XOR)
        • Logical NOT (NOT)
        • NOT <Expression>
        • LEAF
      The relational operators return a value of 1 if the expression is true, otherwise 0. Note
    • Relational Operators
      • You can use boolean operators to implement the formula given below:
        • IF Actual Cost > Plan Cost THEN Actual Cost ELSE Plan Cost
      • Use the boolean operator > to perform the comparison between the key figures.
      • The result is 1 if ( Actual Cost > Plan Cost ), otherwise 0 .
      • The operator NOT returns 1 if <Expression> is 0 , otherwise 0 .
      • Actual Cost > Plan Cost
      • (1 * Actual Cost) + (NOT (1) * Plan Cost) = Actual Cost
      • Actual Cost < Plan Cost
      • (0 * Actual Cost) + (NOT (0) * Plan Cost) = Plan Cost
    • Boolean Operators - LEAF
      • The boolean operator LEAF can be used for carrying out different calculations on results rows and elementary rows of a key figure.
      • For example, this can be used for weighted average calculations for results rows:
        • Key figure Tons can be calculated as Tons in the elementary rows and as Tons/Load in the results rows
      • The first part LEAF of the expression returns 1 for elementary rows and 0 for results rows.
      • The second part NOT LEAF of the expression returns 0 for elementary rows and 1 for results rows.
      The LEAF operator returns a value of 0 for results rows and 1 for elementary rows. Note
    • Properties of Key Figures You can assign a unique technical name to structure parts such as key figures (optional). You can change the automatically determined key figure description here. You can choose whether the key figure is to be highlighted in the report here. You can hide key figures that you only need for calculating formulas, and do not want to display in the analysis.
    • Properties of Key Figures The scaling factor is not automatically displayed in the report. You have to set the scaling factor display separately in the query properties. The reverse +/- signs is only a display function. It has no influence on calculation in formulas. You can use this function to recalculate result rows and individual values that are displayed in the version according to particular criteria. You can use the Cumulated function to ensure that the cells of a column are presented from top to bottom, and the cells of a row are displayed from left to right.
    • Properties of Key Figures In the Properties of the Calculated Key Figure dialog box, you can also select an exception aggregation for a special characteristic for the calculated key figure. You can set a currency conversion key and a target currency in the properties dialog box for a key figure.
    • Formula Collision The Formula Collision function is only displayed in the properties dialog box if two structures are used in the query definition and both contain formulas. In places where the two formulas collide, it is not clear how the system should calculate. You can therefore choose the formula from which you want the value to be calculated.
    • Structures
      • Structures are combinations of characteristics and key figures of the InfoProvider.
      • A structure can be used in a planned/actual comparison or in a contribution margin scheme.
      • Structures can be used to calculate MTD , QTD , YTD , etc. figures.
    • Cell Editor
      • Cell Editor allows direct definition of specific cells in a query.
      • Cells are the intersection of two structures in a query definition.
      • The Cell Editor can only be used in query definitions where there are two structures.
      • Cells can be formulas, selections, references or auxiliary cells.
      One structure will hold only characteristics while the other structure holds only key figures. Note
    • Cell Editor
      • You can use the cell editor to calculate the x- month rolling average for a key figure.
        • Select the cell you want for calculation as a new reference.
        • Right-click and select New Formula (or New Selection ).
        • Use the reference cell for doing the Average calculation. The original value will now be replaced with the cell editor calculation.
    • Tabular Reporting
      • Tabular Reporting will let you arrange the characteristics and key figures in any order when you create a query.
        • For example, you can insert a characteristic column between 2 key figure columns.
      • Use the Table Display icon for changing to tabular mode.
      • To re-arrange the characteristics and key figures, use BEx drag and drop features.
        • Navigation functions like Swapping, drilldown, etc. are not supported with Tabular Reporting.
      Heads Up!