Exclude the entire record when the source price is zero or negative, or when stock is empty.
For an already numeric price, add two Before transformations conditions: price is greater than 0 and stock is not empty. In a table the conditions apply to the row; in JSON put them on price with For the whole element; in XML put them on the repeating record node.
price, stock, rows, and row are example names. Your fields and nodes may have different names: select the actual price field, stock field, and the element that represents one record.
Suitable source data. This recipe expects numeric values such as 10, 10.5, or 10,5. A value such as 12 490 USD contains text and does not fit this cross-format setup.
The recipe deliberately uses Before transformations: one After transformations setup does not currently behave the same in all three tools.
| ID | price | stock | Expected result |
|---|---|---|---|
FL-01 | 10 | 3 | record remains |
FL-02 | 0 | 3 | record is excluded |
FL-03 | -1 | 3 | record is excluded |
FL-04 | 10 | empty | record is excluded |
FL-05 | 0 | empty | record is excluded |
How to do it in Eofferix
Table result
- Open the gear button for the price column,
pricein this example. - Under Export conditions, add Current value → Before transformations → Greater than →
0. - Add
stock→ Before transformations → Not empty. - Click Save. No scope choice is needed: the conditions exclude the table row.

price header opens conditions for the whole row.
price is greater than 0 and stock is not empty; both checks run before transformations.JSON result
- Open the
pricevalue inside one object of therowsarray. - Under Export conditions, select For the whole element.
- Add Current value → Before transformations → Greater than →
0. - Add
/rows/stock→ Before transformations → Not empty, then click Save.

price value inside an object of the rows array.
rows object when either condition fails.XML result
- Open the repeating node for one record,
/workbook/sheet/rowin this example. Do not open itspricechild. - Select For the whole element.
- Add
/workbook/sheet/row/price→ Before transformations → Greater than →0. - Add
/workbook/sheet/row/stock→ Before transformations → Not empty, then click Save.

row, so the entire record is excluded rather than only the price child.Result
Only FL-01 remains in the final table, JSON, or XML. In this JSON scenario, the general preview may still show all five source objects, so verify the filter in the downloaded output of a test export.
The JSON values below are strings because the test source was CSV. If the source stores numbers as numbers, the output type may remain numeric.
JSON
result{
"rows": [
{
"id": "FL-01",
"price": "10",
"stock": "3"
}
]
}XML
result fragment<row>
<id>FL-01</id>
<price>10</price>
<stock>3</stock>
</row>Important details
- Not empty allows
stock=0. If stock must be a positive number, use Greater than with0. - Do not export field inside Transformations clears only one value and does not remove the record. This recipe uses Export conditions.
- The setting location follows the result: a table column excludes its row, a JSON value with whole-element scope excludes the array object, and the repeating XML node excludes its record.
See Export conditions, Rule conditions, table, JSON, and XML.