Skip to main content

Notifications

Announcements

No record found.

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

How to set report page size dynamically

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 148 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans