Title: Basic BEx Queries
1Basic BEx Queries
2Open BEx Query Designer
3Characteristics used to filter results.
Characteristicsthat arent usedinitially but
canbe added.
Key Figures and calculated values inthe body of
the report.
Hit New to create a query
Characteristics,master data, andkey figures of
theInfoProvider youare querying.
Characteristicsforming the rowsof the report.
Preview of report format.
4New Query Dialog
Select InfoAreas
5New Query
Navigate to andselect your cube
Hit OK
6Then click save
Drag-and-dropthe characteristicsto the
Rowswindow and the Key Figureto the
Columnswindow.
7Open BEx Analyzer
8Open Query
Open yourquery
9Open Query
If you dont see yourquery navigate toInfoAreas
and searchfor your InfoCube
10Right-click on any Key Figures or Characteristics
to filter results or to drilldown.
Medium texts selected inCharac
Master data texts I entered for Age
11Drill Across on Gender
12Adding a Filter
13Drag Gender from the Rows window to the Filter
window
14Add Filter
Right-click on Genderand select Restrict
15Add Filter
Select Variables tab
16Create Variable
Right-click on leftwindow and selectNew
VariableThis will start theNew VariableWizard
17Enter a variablename and description
Then hit Next
18Can accept the default values on the next
screen.
19Can enter a defaultvalue (MALE or FEMALE) if
you want.
Then hit Next
20If everything is OK then hit Finish
21and click the arrow
Select thevariable
Then hit OK.
22Hit save
23Return to Excel and open the query again. You
can simply refresh itbecause it will not load
the new definition before retrieving data.
Open yourquery
24User sees a dialog box asking for the value to
filter on. Enter either MALEor FEMALE and
select execute.
25Query only shows records satisfying the filter.
26You can enter a new value in the filter cell and
refreshthe query.
27Free Characteristics
28Drag AgeCharacteristicto FreeCharacteristicswi
ndowThe save thequery.
29Re-Open your query.Notice that Age islisted at
the top but isnot part of the report
30Right-click on thecell to the right ofAge and
chooseto drill across
31(No Transcript)
32Add a Calculated Key Figure
33Delete theKey Figurein the Columnswindow.
34Right-click onthe Columnswindow andselect
NewStructure
35Drag-and-drop the KeyFigure into the
36Right-click theStructure andselect NewFormula
37Enter a Description
then double-click the Percentage Shareof
Result to addit to the formula
Finally, Double-clickthe Key Figure
Hit OK, Save your query and then reopen it in
Excel
38Add Another Formula
- Now, add another formula that calculates the
Percentage Share of the Overall Result