I would like to create a data table analysis in which some Kpi are not related to all documents but only to those that satisfy a certain condition.
For example, I want to calculate
sum (field1) for documents for which field2 has a certain value.
Can i filter documents using json inputs?

