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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

How to include different background images on different pages in the layout?

(0) ShareShare
ReportReport
Posted on by

Hello,

I would like to do the following:

I have a report that has a background image stored in the layout.

If I then start the report with Run from the development environment, then the image is also printed in the background.

Now the report does not always have only one page, but often consists of 3 pages.

Now the background image on the first page should be different than on the following pages.

Is there a possibility to store different background images for different pages?

So that on page 1 I always have the image "Image page 1" as background and from page 2 I always have the image "Image from page 2"?

Thank you very much ;)

I have the same question (0)
  • Suggested answer
    MahGah Profile Picture
    15,613 on at

    Hi

    See this article but I am sure yzhums  can provide more info.

    stackoverflow.com/.../control-report-background-image-conditionally-with-multiple-reports-issue-rdlc

  • Community Member Profile Picture
    on at

    Ok, but no one has verified this answer...

    I found this post:

    social.msdn.microsoft.com/.../conditional-background-image

    But this is also not working.

  • Suggested answer
    YUN ZHU Profile Picture
    102,054 Super User 2026 Season 1 on at

    Hi, You can do this with the IIf function. Conditions can be defined according to your needs.

    The following is a simple example with Background color. (Sorry I didn't find a report with Background image.)

    =IIf(Globals.PageNumber>1,"Tomato","Olive")

    pastedimage1645669383118v1.png

    Layout:

    pastedimage1645669544057v2.png

    Hope this will help.

    Thanks.

    ZHU

  • Community Member Profile Picture
    on at

    This looks very good, unfortunately my report has neither a header nor a footer. It only consists of a body and I believe that the PageNumber function only works in the header and footer.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,687 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,041 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 974 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans