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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Error trying to render image in Report

(0) ShareShare
ReportReport
Posted on by 481

I have this embedded image that I have created an expression for when it is hidden or shown. I want it to be hidden if a field in the dataset is == 0. In this case it is the 'RemainingAmount' field. Here is what I have for my .RDLC report:

Screen-Shot-2022_2D00_05_2D00_20-at-1.25.11-PM.pngScreen-Shot-2022_2D00_05_2D00_20-at-1.26.14-PM.png

And whenever I try to run this report I get this error:

Screen-Shot-2022_2D00_05_2D00_20-at-1.29.29-PM.png

How do I fix this bug?

I have the same question (0)
  • Suggested answer
    tanya07 Profile Picture
    1,638 on at

    Hi jdrco ,

    You can follow this way too -

    printRA = boolean; // add this in your dataitem fields too

    In onafter trigger ()

    if RemainingAmount > 0 then

    printRA = true;

    else 

    clear(printRA);

    Now in PrintRA Visibilty, write 

    Iif(Fields!printRA.Value,False,True)

     

    Thanks,

    Tanya Kharbanda

    Don't forget to help the community by verifying the answer if your question has been answered. It will let others know that the topic has a verified answer.

  • Verified answer
    Arjun Anand Profile Picture
    202 on at

    [View:/cfs-file/__key/communityserver-discussions-components-files/758/StandardSalesInvoice-_2D00_-Copy.rdl:320:240][View:/cfs-file/__key/communityserver-discussions-components-files/758/HelloWorld.al:320:240]

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

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,606

#2
YUN ZHU Profile Picture

YUN ZHU 931 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans