Hi,
I’m looking to count the number of starred accounts active on a client file, to use this as an insight for reporting purposes.
From some research on the forums I’ve compiled the following code, but it is currently not capturing any accounts. This could be an issue with the range I’ve selected but I’m not certain.
Here is the code I have used:
{% assign standard_range = "1_9" %}
{% assign starred_range = period.accounts[standard_range].starred %}
|{% input custom.accounts.numbers as:account_collection range:starred_range accounts_var:accounts_all %}
|{{ accounts_all.count }}
It generates on the template as below:
I would be grateful for any assistance, apologies if this is a simple fix but I am not experienced in liquid coding!
As a separate note, I am looking to do the same for the number of adjustments posted in a period and any suggestions would be very helpful.
Thanks,
Mike