Question

How to to find empty fields in columns ?

  • 10 May 2023
  • 2 replies
  • 36 views

Badge +3

How to find the column that has an empty fields ?

as example. I have 50 attribute names some of them has values and other is empty .

i do not want to use 50 tester to check for each attribute if it has value or not ?

is there easy solution to get the required columns that has no value ?

FME 2021

thanks in advance


2 replies

Userlevel 6
Badge +33

One way to do this is to use an Aggregator, merge all features to one collection, Accumulation Mode: Use Attributes From One Feature.

Then an AttributeExploder to create a feature for each attribute.

Then test where _attr_value has no value.

Userlevel 4
Badge +26

If all the attributes are exposed you can try and use an AttributeValidator where the rule is "Has a Value". You can select All Attributes in one click. The validator will also create a report for each failed feature so you can see what test is failed.

Reply