Working with Subqueries



  1. Begin by navigating to the Criteria page.


    Click the Reporting Tools link.

    Step 1
  2. Click the Query Manager link.

    Step 2
  3. Click the Search button.

    Step 3
  4. In this example, you will select the CM_DIM_CTRL_TBL query.


    Click an entry in the Edit column.

    Step 4
  5. Click the Criteria tab.

    Step 5
  6. Use the Criteria page to view and edit selection criteria for your query statement.

    Step 6
  7. Use the Add Criteria button to access the Edit Criteria Properties page.


    Click the Add Criteria button.

    Step 7
  8. Use the Edit Criteria Properties page to add additional criteria.

    Step 8
  9. Select the Field option.

    Step 9
  10. Click the Choose Record and Field button.

    Step 10
  11. Click the Dimension/Measure/Attribute link.

    Step 11
  12. Click the Condition Type list.

    Step 12
  13. Click the greater than list item.

    Step 13
  14. Click the Subquery option.

    Step 14
  15. Click the Define/Edit Subquery link.

    Step 15
  16. Use the Records page to select the records on which to base the new query or the subquery.

    Step 16
  17. Click the Search button.

    Step 17
  18. In this example, use the Tree Access Groups record.


    Click an entry in the Join Record column.

    Step 18
  19. Use the Query page to add fields to the query content.


    You can also use this page to add additional records by performing joins.

    Step 19
  20. In this example, you will use the Access Group field.


    Click the Select link.

    Step 20
  21. Use the Fields page to view how fields are selected for output; view the properties of each field; and change headings, order-by numbers, and aggregate values.

    Step 21
  22. Click the Edit button.

    Step 22
  23. Use the Edit Criteria Properties page to edit selection criteria properties for your query statement.

    Step 23
  24. Click the Count option.

    Step 24
  25. Click the OK button.

    Step 25
  26. Click the Save button.

    Step 26

You have successfully created a subquery.

Table of Contents  Start Topic