The Having page in Query Manager allows us to filter the output using the aggregate function. It is similar to the Criteria page, but it is used for aggregate columns. You must have an aggregated field if you want to use it, such as COUNT, SUM, MIN, or MAX.

Similarly, when you filter the aggregates field, the field will be added under the ‘Having’ tab automatically.

having tab

Example:

Find institutions that have more than 5000 students
     results

  1. Create an aggregate field. In this case, COUNT(A.EMPLID) was created in the expression as enrollment field. (Please see the Creating Expressions page for more information about expressions.)

    create field
  2. Click the small funnel icon for the expression
    filter the field
  3. Change Condition Type to "greater than" and enter the constant. Click OK
      set condition
  4. When you go to the Having page, the criteria is automatically added on the page (not on the Criteria page).
    having tab with condition
  5. Run the query to check the data


Attachments:

image2022-3-23_16-36-0.png (image/png)
image2022-3-23_16-34-24.png (image/png)
image2022-3-23_15-18-39.png (image/png)
image2022-3-23_15-12-59.png (image/png)
image2022-3-23_15-9-19.png (image/png)
image2022-3-23_15-6-58.png (image/png)
image2022-3-22_17-7-35.png (image/png)
image2022-3-22_17-2-6.png (image/png)
image2022-3-22_17-1-37.png (image/png)
image2022-3-22_16-53-6.png (image/png)
image2022-3-22_16-51-10.png (image/png)
image2022-3-18_14-50-33.png (image/png)
image2022-2-25_11-47-17.png (image/png)
image2022-2-25_11-42-38.png (image/png)
image2020-6-2_9-26-15.png (image/png)
image2020-6-2_9-24-13.png (image/png)
CS HR Add to Favorites.jpg (image/jpeg)
Dashboard.JPG (image/jpeg)
image2019-11-4_10-48-52.png (image/png)
image2018-10-1_13-55-39.png (image/png)
image2018-10-1_13-50-28.png (image/png)
Query Search.jpg (image/jpeg)
Run to HTML or EXCEL.jpg (image/jpeg)
HR_FNfilepathStep1.jpg (image/jpeg)
LaunchPad.jpg (image/jpeg)
image2017-10-25_15-45-35.png (image/png)
image2017-10-25_15-15-42.png (image/png)
image2017-10-25_14-54-10.png (image/png)
HR_FNfilepathStep2.JPG (image/jpeg)
Help-button-800px.png (image/png)
Using the Advanced Search Tool in Query Viewer.PNG (image/png)
Advanced Search Dropdown Menu.PNG (image/png)
Query viewer advanced search.PNG (image/png)
Query search dropdown menu.PNG (image/png)
QS3.PNG (image/png)
QS2.PNG (image/png)
QS1.PNG (image/png)
image2022-3-24_16-9-51.png (image/png)
image2022-3-25_8-38-43.png (image/png)
image2022-3-25_8-45-48.png (image/png)
image2022-3-25_8-47-10.png (image/png)
image2022-3-25_8-49-38.png (image/png)
image2022-3-25_8-52-36.png (image/png)
image2022-3-25_8-55-28.png (image/png)