superset icon indicating copy to clipboard operation
superset copied to clipboard

Displaying 0's instead of NULL in Table View and Line Chart

Open DavidJHassan opened this issue 8 years ago • 3 comments

Make sure these boxes are checked before submitting your issue - thank you!

  • [ ] I have checked the superset logs for python stacktraces and included it here as text if any
  • [x] I have reproduced the issue with at least the latest released version of superset
  • [x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

25.5

Expected results

Do not display NULLS as 0's in Table View and Time Series - Line Chart

Actual results

Displaying NULLS as 0's in Table View and Time Series - Line Chart

Steps to reproduce

Have data that contains NULLS in between non NULL data. Display data in Table View or Line Chart and see 0's.

This makes graphs look awful when the data suddenly drops to 0 because of NULLS. When looking at financial data in a table view it is misleading to 0 instead of NULL. Especially when dealing with prices, sales, etc.

image

The below row in a table view only contains data in the first estimate column. The other columns are NULL but displays 0's.

image

DavidJHassan avatar May 31 '18 13:05 DavidJHassan

Looks like this is related to #4905. This is my update to say it is still not fixed. Anyone have a workaround?

DavidJHassan avatar May 31 '18 13:05 DavidJHassan

@davidhassan If it's a dup, close this one and add subscribe to the other one.

xrmx avatar May 31 '18 13:05 xrmx

Closing it now thanks.

DavidJHassan avatar May 31 '18 13:05 DavidJHassan