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, ...
Suggested Answer

Electronic Reporting - Format Model - Dynamic height on row in Excel

(1) ShareShare
ReportReport
Posted on by 2,190

Dear Experts

is it possible in ER to allow the report to automatically adjust the height of a specific cell if the string value  within the cell does not fit?

I am  testing the Invoice Template and it seems the cell dimensions are set in advance , and as a result , the description might be truncated.

I tried to use WRAP in the excel but it does not seem to have any effect in ER.

as work around I have increased the height on the template. Is this the only way?

8400.pastedimage1615364209474v1.png

I have the same question (0)
  • ToddB Profile Picture
    Microsoft Employee on at

    Hi Alessandro,

    In checking, there does not appear to be a way to dynamically change the height.

    You could submit a suggestion around this on the Ideas portal; and post a link here for others to vote:

    experience.dynamics.com/.../

  • Suggested answer
    Jeb Baker Profile Picture
    15 on at

    Insert 2 rows after row 44 in your screenshot. Put a range around rows 44 - 46. Then put a range around row 45, and another range around row 46. In row 45 add a new merged cell directly under Description called Description2. In row 46 add a new merged cell directly under Description2 called Description3. In your Format Design change Description formula to just show what you can see without truncation - eg MID(@.Description, 1, 48). Then in the formulas for Description 2 and 3 just adjust the formulas to display what you would see on lines 2 and 3. On the range above Description2  changed Enabled formula to be LEN(@.Description)>49. Do same for the range above Description3 Enabled = LEN(@.Description)>99. So what this does is hide the ranges in rows 45 and 46 if the Description only takes 1 line. Otherwise the other ranges become visible if needed.

  • Aparisi82 Profile Picture
    2,190 on at

    Apologies if I come back to you only now as I have a real example and your suggestion makes perfect sense.

    I will try and come back to you

  • Aparisi82 Profile Picture
    2,190 on at

    Dear Jeb

    I used your suggestion however it would truncate words if senteces needs a carriage return , however I have used something similar.

    I created 2 ranges ( one with one row ) and another range with 2 merged rows and based on the lenght of the note , I would show the first range or the second

    like below.

    It works flawlessly

    pastedimage1649608051336v1.png

    pastedimage1649608121806v2.png

  • Rafa Araujo Profile Picture
    30 on at

    Hi,

    Is it was fixed on new D365FO versions? I'm using the 10.0.31 (update 55) and the wrap is not working too.

    Thanks!

  • Suggested answer
    Community member Profile Picture
    2 on at
    This is already covered by a new Microsoft functionality, Auto-fit height.
     
    Go to Electronic Reporting parameters, tab runtime and you'll find the parameter there.
     
    Although only enabling the parameter is probably not enough, I cover it in detail with examples in my blog post and Video:

    http://fernitudela.dev/2024/03/05/d365fo-electronic-reporting-dynamic-height-auto-fit-height-in-excel-rows-with-wrap-text-and-merged-cells/

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 399

#3
Adis Profile Picture

Adis 251 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans