I have a Table Excerpt Include with various table values, including zeroes. When I put this through Table Transformer, the zero value cells are blank. My testing suggests this is due to my use of FORMATWIKI in Transformer. I use that to set column widths, conditional text colors, etc. When I remove the FORMATWIKI and just place the regular or calculated value, then zeros appear.
Is there any way to retain zeros for display in this situation? I did find reference to using IFNULL to display zero instead of a blank, but IFNULL would need to be applied to every field impacted. I wondered if there is another setting or "all inclusive" approach that would achieve the same result.
Hi @Scott Gillespie,
The original FORMATWIKI function shouldn’t change nulls to empty cells. I mean that if you have “0” in your column, then SQL queries
SELECT
FORMATWIKI("{cell:textColor=green|align=left|width=200px}", 'Column name', "{cell}")
AS 'Column name'
FROM T*
or
SELECT
FORMATWIKI("{cell:textColor=green|align=left|width=200px}" + 'Column name' + "{cell}")
AS 'Column name'
FROM T*
just change the color of this “0” and change the width of the column.
So, please refer to our support. Attach the page storage format of each page with the Table Excerpt macro inserted and of your master page with the Table Excerpt Include and Table Transformer macros. We’ll recreate them and see what data is pulled via the Table Excerpt Include macro and how you try to transform it.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.