Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to create multiple 'aggregate' facts on a 'parent' object calculated from child objects (composition) #361

Open
markericson opened this issue Dec 26, 2023 · 0 comments

Comments

@markericson
Copy link

markericson commented Dec 26, 2023

I have object(s) that will introduce facts that also have 'child' objects (composition). There will be multiple facts that are aggregate values on the parent that are calculated from the 'children.'

Typically these aggregate fact on the parent will follow one of the following patterns:

  • count of children matching a filter (or all)
  • sum of children matching a filter (or all)

I didn't see anything like that in the examples. It would be great if it could be added!

@markericson markericson changed the title How to create multiple facts on a 'parent' object calculated from child objects (composition) How to create multiple 'aggregate' facts on a 'parent' object calculated from child objects (composition) Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant