Skip to main content
Question

How to to find empty fields in columns ?


spiderman
Contributor
Forum|alt.badge.img+7

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

nielsgerrits
VIP
Forum|alt.badge.img+54

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.


virtualcitymatt
Celebrity
Forum|alt.badge.img+35

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings