Hi @Paulo Vilar @geoffrey.lowney
If I understand it correctly, the logic is a bit more complex than what you outlined, because we do not want to aggregate the figures to a field on the interface fact sheet, but to a field on the application fact sheet, using a two-level aggregation (first across all provided interfaces of this application, then across all consumer apps of those interfaces).
I don’t think that this two-level aggregation is possible using calculations today, but how about the following approach:
- use @geoffrey.lowney ‘s approach to get a set of unique app ids
- write them to a hidden field of the interface, comma-separated
- in a second calculation(!) based on the application fs, you iterate across all provided interfaces, get their consumer app ids from the hidden field, split them by comma, add them all to a big set and after the big iteration you get the size of that set.
To save the complexity of this workaround, you could also write a short 5-10 line double aggregation in our Aronis Automation Platform. We don’t restrict meta model access in any way, so you can walk all relations in one single automation.