Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: timonkHello,
If you can post an example of your data I can answer more precisely, but in general; yes.
You can quite easily exclude records from your output based on the values of a given field. For example:
emit * where ('FOO' > 0)
is very basic BRAINScript that tells a filter node to emit every record (and every field for that record) where the field FOO is greater than zero. Else, the whole record is excluded. You could be even more explicit with IF /THEN statements. It depends on what you want.
You can also use a Split node to directly filter out all records not meeting a specific criteria.
If your data isn't so much a single field in a record, but the result of a whole set of data, then a very simple Aggregate node can perform a summing operation to determine if a monthly total is 0. This output can then be used to perform a simple JOIN operation against your data to remove all the records matching the empty month.
If you can provide more detail on how your data is setup and what precisely you want to do, better examples could be given.
Regards,
Timon Koufopoulos
MDA Support.