Mindmajix

Filtering Data

You can filter data so that only the data that you’re interested in is included in your crosstabs and charts. To filter out the data, you apply a condition to one or more rows or columns in the crosstab. If a cell value does not satisfy the filter condition, its entire row or column is removed from the crosstab.

A filter is applied to one or more row members, or one or more column members, but not to both row and column members simultaneously. On an axis that has nested dimensions, the selected members must be on the innermost dimension.

So far, we have created a very simple workspace and learnt where we can find the elements from our BEx query. In this section, we shall review the different options to filter the data.

From the previous steps, we have a workbook which shows the Country and Region in the Rows and the key figures in the Columns (see Figure 4.52).

Screenshot_188

Figure 4.52 Analysis Workspace

The first option to filter the data in your cross tab is to use the Filter by Member option, which allows you to filter a characteristic or a key figure.

  1. In our workspace, from the previous steps select characteristic Country in the cross tab.
  2. Now navigate to the tab Analyze.
  3. Select the menu Filter (see Figure 4.53).

Screenshot_189

Figure 4.53 Filter by member
  1. Select the option by Member (see Figure 4.54).

Screenshot_190

Figure 4.54 Filter by Member
  1. You can now select from the list of available members.

Screenshot_191

Figure 4.55 Display Options

The Display button (see Figure 4.55), in the Filter dialog allows you to configure how the list of available members is being shown. In addition, the Filter by Member dialog allows you to save the filter and enter a specific name for your filter combination. Saved Filter combinations are shown in the Data Panel for the corresponding characteristic, as shown here for characteristic Country (see Figure 4.56).

Screenshot_192

Figure 4.56 Save Filter
  1. For our example, select the countries France, Germany, United Kingdom, and the nited States.
  2. Click OK.
  3. Now select the characteristic Country in the Rows in the Layout panel.
  4. Use a right click to open the context menu (see Figure 4.57).

Screenshot_193

Figure 4.57 Filter by Member

      10. Select the menu Filter by Member.

Screenshot_194

Figure 4.59 Filter by Member

      11. Here you can select which of the available key figures should be displayed in the cross tab and you have the option to save the filter (see Figure 4.59).

      12. Select the key figures Net Value, Product Costs, and Transport Costs.

      13. Click OK.

In addition to the option to filter the data in the cross tab by selecting specific members like we did in the previous steps, you can also use the Filter by measure functionality which allows you to define a condition (to speak in BEx query terms), which is now being called a Filter by Measure.

In the cross tab, we are showing right now characteristic Country and Region with the key figures Net Value, Product Costs, and Transport Costs.

      14. Select characteristic Product from the Data Panel and drag and drop characteristic Product to the Rows so that it replaces characteristic Region.

      15. Navigate to the tab Display.

    16. Select the menu Totals & Parents and ensure the option Display Sub-totals is activated (see Figure 4.60).

    17. Select characteristic Product in the Rows of the Layout panel.

Screenshot_195

Figure 4.60 Totals and Parents

      18. Use a right-click and select the menu Filter by Measure (see Figure 4.61).

Filter by Measure with or without subtotals

You will notice that we activated the subtotals before creating the Filter by Measure. The result set of a Filter by Measure rule with subtotals being shown is different to the result set when the subtotals are not shown.

Without the subtotals being part of the cross tab, a Filter by Measure rule is being applied to the complete combined result set and not just to the inner rows. In most scenarios, you want to ensure that the subtotals are shown.

Screenshot_196

Figure 4.61 Filter by Measure

    19. Set the option Based on to the Net Value.

    20. Set the option Include Members to Top N.

    21. Enter the value 3.

    22. Click Add (see Figure 4.62).

Screenshot_197

Figure 4.62 Filter by Measure

Filter by Measure

The functionality Filter by Measure in SAP BusinessObjects Analysis, edition for OLAP is the corresponding functionality to a Condition in a BEx Query.

     23. Click OK.

Screenshot_198

Figure 4.63 Analysis Workspace

The option Filter by Measures can only be defined on specific selected characteristics and not like in SAP Business Objects Analysis, edition for Microsoft Office on the rows or columns dynamically.

In addition to using the menu option Filter by Member you can also drag and drop a characteristic to the Background area in the Layout panel and you will be asked which members should be included in the cross tab. In this section, we have learned about the different options on how to filter the data that is shown in the workspace. In the next set of steps, we will show you how to add data visualizations in form of charts to your workspace.

 

 

 


 

0 Responses on Filtering Data"

Leave a Message

Your email address will not be published. Required fields are marked *

Copy Rights Reserved © Mindmajix.com All rights reserved. Disclaimer.
Course Adviser

Fill your details, course adviser will reach you.