Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When using the sum function for a column, I would like the value to display as '0' when a column has either no values or zero values. What's the simplest way of achieving this?
The first attached image shown how it appears now (default) and the second shows how I would like it to appear.
Thanks for your suggestions/help.
Martin
Comment | File | Size | Author |
---|---|---|---|
blank-in-table.jpg | 19.35 KB | nattyweb | |
zero-in-table.jpg | 19.81 KB | nattyweb |
Comments
Comment #2
nattyweb CreditAttribution: nattyweb commentedComment #3
RdeBoerMaybe I should add a generic option "Show blanks as zero"....
Comment #4
nattyweb CreditAttribution: nattyweb commentedThat would be fantastic and I hope you decide to add it. This is a brilliant module and adds great power to the ability to display tables.
Is there a quick fix I could add in the meantime (assuming it might take you a while to add!)? Where might I look?
Comment #5
delacosta456 CreditAttribution: delacosta456 commentedhi
Pplease has this been resolved ? i am having this issue too.
thanks