Solved

Want to differentiate whether a file contains all null values in particular column or only null values in few rows.

  • 23 February 2023
  • 2 replies
  • 6 views

Hello all,

I had one file which contains some null values and some state values. So in that case I am using the tester to filter null and non null values .but another file contains all the null values in the same column.so in the both cases we are getting the output in failed port as both files contains​ some null values. So how to differentiate whether a particular file contains all null values in the column or only few null values. So that if file contains all null values then we can send the error message.

icon

Best answer by markatsafe 23 February 2023, 20:06

View original

2 replies

Badge +2

@gowripriya2k​ You can use StatisticsCalculator in more recent versions of FME (2022). Compare Total Count to Value Count. For strings, set the 'Method' to String. For columns that have all ,null> values, the Value Count = 0

image 

@gowripriya2k​ You can use StatisticsCalculator in more recent versions of FME (2022). Compare Total Count to Value Count. For strings, set the 'Method' to String. For columns that have all ,null> values, the Value Count = 0

image 

Thankyou, it worked for me!​

Reply