In Enhanced table -> Add computed column ,I want to make addition of 4 columns as col1,col2,col3,col4 .
but my column col4 is dynamic sometimes I get only col1,col2,col3
Computed column formula - col1 + col2 +col3 + col4
that time it shows "In computed column 'col1 + col2 +col3 + col4', column number 4 does not exist"
Unfortunately we don't provide support for third party plugins. I think the best resource is to open an issue/question here https://github.com/fbaligand/kibana-enhanced-table/issues
As far as I know, I think you can use a ternary operation to check if the forth column exist or not using the an expression like (I didn't test it, it's more like a pseudo code, I'm not sure how enhanced table handle a non existing column):
col1 + col2 +col3 + (col4 == null ? 0 : col4)
You can also take a look a this link that provides the list of available expressions
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.