web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

SSRS Report – Fixed Body Height Table with Dynamic Row Height – Best Approach?

(0) ShareShare
ReportReport
Posted on by 16
Hi Developer,
 
I'm working on a print report in D365FO that requires a fixed total body/table height per page, but with rows that grow dynamically based on content length.
 
The requirement:
- The table body has a fixed total height (e.g., enough space for ~10 lines)
- Each row height is dynamic — it wraps and grows if the text is long
- The remaining space after all data rows must be filled with blank rows so the table body always reaches the fixed height
- All rows must be tight/compact with no extra gaps between them
 
What I've tried:
The only workable approach I found so far:
- CanGrow = false on data rows
- Inject shadow/dummy records via DP preprocessing to pad up to a fixed row count
 
Problems:
1. Gap inconsistency — When real rows grow due to long text, the total height of real rows + dummy rows often exceeds or doesn't exactly match the fixed body height, causing visible spacing gaps or page overflow
2. Can't predict row height at preprocessing time — The actual rendered height of a row depends on font, column width, and text length, which is only known at render time (not at DP/X++ level)
3. Dummy row height miscalculation — If real rows consume more vertical space due to wrapping, the dummy rows need to shrink accordingly, but SSRS has no native mechanism for this
 
Core challenge:
SSRS does not provide a way to make the remaining blank rows dynamically absorb the leftover space after variable-height data rows. The renderer calculates row heights independently.
 
My questions:
1. Is there any SSRS technique (expressions, rectangle containers, sub-reports, custom sizing) that allows the padding/blank rows to auto-fill remaining body space after dynamic-height data rows?
2. Has anyone handled this with a custom RDL rendering approach or post-processing?
3. Would switching to a Word template merge (via Document Management in D365FO) be a more reliable solution for strict layout fidelity like this?
4. Any experience with third-party report engines (e.g., FastReport.NET embedded in D365FO, or generating PDF directly from X++) that handle this kind of layout better than SSRS?
 
Thanks in advance!
Categories:
I have the same question (0)

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 653

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 501 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 298

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans