Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

How to set report page size dynamically

(0) ShareShare
ReportReport
Posted on by 55

Dears, 

I have a customized report and there is multi column show and hide based on expressions. My issue is when the columns is hidden there is white space that need to be removed.

The question is there any solution to set the report page width based on the rendered body?


3324.reportimage.png

  • yousefsuli Profile Picture
    yousefsuli 55 on at
    RE: How to set report page size dynamically

    agarwal AX  

    Any suggestion how I can get the body size using code?

  • yousefsuli Profile Picture
    yousefsuli 55 on at
    RE: How to set report page size dynamically

    Hello Judy, I'd appreciate your answer but it doesn't fit my requirement mine simply I need to set report width to fit content width in my case it's the body width.

  • Deepak Agarwal Profile Picture
    Deepak Agarwal 8,566 on at
    RE: How to set report page size dynamically

    Maybe you can give it a try if there are expression options avaiable in the report layout.

  • Suggested answer
    huijij Profile Picture
    huijij 19,811 on at
    RE: How to set report page size dynamically

    Hi yousefsuli,

    Please check the old thread to see if it helps:

    community.dynamics.com/.../ssrs-report-fit-to-the-page

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,160 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans