Skip to main content
Nintex Community Menu Bar
Question

Aggregate Model with SOQL HAVING" clause?"

  • July 11, 2024
  • 5 replies
  • 31 views

Forum|alt.badge.img+10

Is it possible to specify “HAVING” in an aggregate model?

Reference: https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_having.htm

My use case is that I want to filter out 0 SUMs

This topic has been closed for replies.

5 replies

Forum|alt.badge.img+17

Forum|alt.badge.img+10
  • Author
  • Scholar
  • July 11, 2024

Thanks for the link!

Got it working!

Added this to the model’s XML in its own section after the section:




Forum|alt.badge.img+13

Yes, you can add clauses via the XML, see this post:

https://community.skuid.com/t/filter-on-count


Forum|alt.badge.img+7
  • Rookie
  • July 11, 2024

All of these links are broken. Can someone provide the updated links to the ‘having’ capability?


Forum|alt.badge.img+5
  • Nintex Employee
  • July 11, 2024

Hi Paul,
Here are the updated links for those threads:

Does anyone know how I would set “Having” (as described in the following community post) via JavaScript Snippet? I would like to create a table filter based on Having. Thanks!
i have an aggregate model that counts the number of times a first name last name combination appears in the client object can i filter the model to only display > 1 for the count ? [image]