Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null Values in Enhanced Table on Kibana 8 #356

Open
najme-khorrami opened this issue Dec 23, 2024 · 1 comment
Open

Null Values in Enhanced Table on Kibana 8 #356

najme-khorrami opened this issue Dec 23, 2024 · 1 comment
Labels

Comments

@najme-khorrami
Copy link

Hi,

I’m facing an issue in Kibana 8 that fields with no data return null, whereas in Kibana 7, they returned 0 when formatted as numbers. This change has disrupted my CSS and computed style rules, such as if value == 0, which no longer function correctly.

Is there a way in Enhanced Table to replace null with 0 or to manage these values without significant changes to existing rules? Additionally, could there be a method for handling null values that I might have overlooked?

Thank you!

@fbaligand
Copy link
Owner

fbaligand commented Dec 25, 2024

Well, first, thanks for the feedback.
Then, a way to replace null values with 0 is to use this function:
col(colIndex, 0)

This is also a way to handle null values or inexisting columns, especially when using « Split col » feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants