Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
The8
Helper II
Helper II

Problem to Display Images in Paginated Report from Local PC

Hi,

I have a folder in my Local PC with Images, these images are stored i folder with different ID.

I loaded this folder into to PB Desktop and can successfull display these images in PB desktop as well in my PB service when I published.

Note:
1.I converted this to "base64" to dislpay images in PB Desktop.

2.I make use of On-Premises Gateway to access my local PC file

Now I used this published dataset to generate Paginated report but I have problem to display this image.

I followed steps (from 1:14 minutes) as in below link video to published data set to generate Paginated report.

https://screencast-o-matic.com/watch/c3heDVVYd5f.

How can I solve this issue?  Any suggestions!!

Insight:

I found  insights from one of the below post in PB community but still I can not solve the problem
Problem showing image in paginated report 

The8_0-1706186912396.png

 

@Anonymous 
SharePoint Image to Paginated Report Display Issue 

Thanks!!

2 REPLIES 2
Anonymous
Not applicable

Hi @The8 ,

It seems that you've taken the right steps by converting your local images to base64 strings and using the On-Premises Data Gateway to access your local PC files. However, you're facing difficulties in displaying these images in the published Paginated Report.

 

To assist you, please follow these troubleshooting steps:

 

1. Verify the base64 String: Ensure that the base64 strings for your images include the correct data URI scheme prefix (e.g., `data:image/png;base64,`) before the base64 encoded string.

 

2. Check the Dataset in Power BI Service: Confirm that the dataset you've published to the Power BI Service contains the base64 strings and that they're accessible.

 

3. Use Power BI Report Builder:
- Open Power BI Report Builder and connect to the dataset with the base64 strings.
- In the report layout, add a table or matrix and place an Image report item where you want the image to display.
- Set the Image Properties to use the base64 data. Ensure you select 'Database' as the source and correctly reference the dataset field that contains the base64 image data.
- Specify the MIME type accurately, matching the format of your images (e.g., 'image/png').

 

4. Upload and Test the Report: After designing your report with the images, save and upload it back to the Power BI Service. Check if the images display correctly within the Paginated Report.

 

5. Review Configuration of On-Premises Gateway: Make sure that the gateway is configured correctly and has access to the local files if needed. Note that for base64 encoded images, the gateway is not directly serving the images but is used for the dataset refresh.

 

6. Test Image Accessibility: Make sure the base64 encoded images are not too large, as this could cause performance issues or even prevent them from rendering.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

 

Thanks for your response.

I have checked all your points clearly one after another even URL is correct also with prefix and suffex.

But still I have same problem. May be a sample video can help me.

Thanks in advance.  

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.