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

Community site session details

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

How to get an Image fields to print in Power BI Report Builder?

(0) ShareShare
ReportReport
Posted on by 44

Hello, 

I have written a Business Central Query Extension to get the field "Image" and exported it in a Web Service to Power BI.

pastedimage1680340817538v1.png

What I get is the string that should connect the real image bitmap.

How can I set the Query in order to get the image bitmap and not the string as a key?

Later I will use too the dataset with the image bitmap in Report Builder.

Thanks in advance,

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at
    RE: How to get an Image fields to print in Power BI Report Builder?

    What you will ned to do is first to put the image (content of the blob field) into a stream and then convert the stream to a base 64 string before you use the base 64 encoded string as the return value for your webservice.

    procedure ToBase64(InStream: InStream): Text

    learn.microsoft.com/.../system_application_codeunit_base64_convert

  • Suggested answer
    YUN ZHU Profile Picture
    95,307 Super User 2025 Season 2 on at
    RE: How to get an Image fields to print in Power BI Report Builder?

    Hi, just adding some info for Report Builder.

    You can refer to the standard function below to display your images.

    pastedimage1680482357536v3.png

    table 79 "Company Information"

    pastedimage1680482212362v1.png

    report 1305 "Standard Sales - Order Conf."

    pastedimage1680482258953v2.png

    Hope this helps as well.

    Thanks.

    ZHU

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 3,377

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,696 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,512 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans