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

Notifications

Announcements

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,188

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)
  • 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/
  • 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!

  • Aparisi82 Profile Picture
    2,188 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

  • Aparisi82 Profile Picture
    2,188 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

  • 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.

  • ToddB Profile Picture
    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/.../

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 843 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 405 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 322 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans