Filters
Use conditional operators to filter arrays: >
, <
, >=
, <=
, =
, !=
.
Filters example with numbers
Filters should be the same on the ith+1
marker and all other markers if you want to keep only matching rows. Use an Alias to simplify report maintenance.
Data
People
{d[i , age > 19, age < 30].name}
{d[i+1, age > 19, age < 30].name}
Filter example with strings
Filter with strings as shown in the example below.
Data
People
{d[i , type='rocket'].name}
{d[i+1, type='rocket'].name}
Filter with the iterator index
Filter the loop index as shown in the example below.
Data
People
{d[i, i < 2].name}
{d[i+1, i < 2].name}
Last updated