Hey,
I would like to filter an Order dataset on only the orders of the last 10 months.
Is this possible with Foundry Rules ? Can we have functions-based filters ?
Or do I have to precompute the date from 10 months ago in the dataset ?
Thanks,
Julien
Hey,
I would like to filter an Order dataset on only the orders of the last 10 months.
Is this possible with Foundry Rules ? Can we have functions-based filters ?
Or do I have to precompute the date from 10 months ago in the dataset ?
Thanks,
Julien
This is possible using the “expression” board in the foundry rules editor.
For example, add_date(current_date(), -7) will generate the date from now minus 7 days. See https://www.palantir.com/docs/foundry/contour/expressions-syntax/ for the full syntax enabled in the expression board.