Is there a way to filter this array based on multiple conditions (for example, status = authorized and currency = eur) other than using the iterator + filter method?
My goal is to create custom reports based on this array without having to waste too many operations.
Alternatively, see if your external service has a module that allows you to insert filters in the Trigger module to filter out items you donât need.
Links
Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too â
Thereâs only one source array, but for every metric I want to appear in the reports (for instance, total value of all transactions that were authorized in USD), I need to iterate the array, apply the filter and sum it.
Iâd love to be able to sum such filtered values in a single step.
If you need any assistance with creating custom JS, feel free to start a new topic for this.
1. If you have a new question in the future, please start a new thread. This makes it easier for others with the same problem to search for the answers to specific questions, and you are more likely to receive help since newer questions are monitored closely.
2. The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep the Community organized.
This marks the topic as solved, so that:
others can save time when catching up with the latest activity here, and
allows others to quickly jump to the solution if they come across the same problem
To do this, simply click the checkbox at the bottom of the post that answers your question:
3. Donât forget to like and bookmark this topic so you can get back to it easily in future!