Hi everyone,
I'm working on a Word layout in Business Central (using the the Word add-in for report layouts Use the Word add-in for Business Central to layout document reports - Business Central | Microsoft Learn). I'm using the "Hide table row if field is empty" option, and it works for lines-level data. The rows are hidden in the Word document as expected when the specified field is empty.
However, when I try to apply the same logic to header-level fields, the row in the Word layout is not hidden, even if the field value is empty.
Has anyone else encountered this issue? For the header I use the same path as for the rows, but it doesn't work.
Could someone try it and tell me the result? Instruct me what I am doing wrong? This is a very useful function.
Thanks in advance for any insights!
Best regards,
I agree with @Yun ZHU — the “Hide table row if field is empty” feature in Word layouts works only with table rows, not individual header fields.
That said, I encountered a similar situation, and while it might not be the recommended approach, here's what worked for me:
🔹 Instead of placing header fields directly in the layout, I created two tables in the body section — one for header values and one for lines. 🔹 I then used the "Hide table row if field is empty" feature on the header value table rows. 🔹 As a result, if a header field had no value, its row was automatically hidden, and the layout adjusted without leaving empty space.
It’s a bit of a workaround, but it solved the issue for me. If you’d like a step-by-step guide, I’d be happy to share.
✅ Mark this answer as verified if it helps you.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Andrés Arias as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Sohail Ahmed 2,725 Super User 2025 Season 2
Sumit Singh 2,610
Jeffrey Bulanadi 2,221