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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Mahmoud_Alashi
Frequent Visitor

dynamic image path Parameter for paginated reports in Power bi Report Builder

Hello, i have been trying to have my local image path be dynamic and be inside a parameter. 

i tried putting and online image URL in a parameter and put as external source for my image and it was working fine, but when I try to do the same for my local C: images it shows a red X instead.

 

same thing if I have a shared image in my network.

 

here are some snapshots:
1: static path with server IP

Mahmoud_Alashi_0-1716960242844.png


Result : image shown in design view only, when I hit run the image becomes a red X 

2: same image path but directly opened from said server : 

Mahmoud_Alashi_1-1716960470526.png

Result: Same as before, show in design and red x when run.

3: online image URL works just fine.

why am I unable to get it to work for my local/server images? what could be the issue?
(the image type is saved as .stream)



1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Mahmoud_Alashi ,

The behavior you're experiencing, where images display as a red X at runtime, typically indicates that the report server is unable to access or render the image from the specified path.

Ensure that the report server has the necessary permissions to access the local or network path where the images are stored.

Storing images on a web server is a good option, especially for the company logo, which may be sourced from the company website. However, take care if your report users will access reports outside your network. In this case, be sure that the images are available over the Internet and do not require authentication or additional sign-in to access the image. Images stored on a web server must not exceed 4 MB in size or they will not load in the Power BI service.

Image use guidance for paginated reports - Power BI | Microsoft Learn

 

If it does not help, please provide more details.

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Mahmoud_Alashi ,

The behavior you're experiencing, where images display as a red X at runtime, typically indicates that the report server is unable to access or render the image from the specified path.

Ensure that the report server has the necessary permissions to access the local or network path where the images are stored.

Storing images on a web server is a good option, especially for the company logo, which may be sourced from the company website. However, take care if your report users will access reports outside your network. In this case, be sure that the images are available over the Internet and do not require authentication or additional sign-in to access the image. Images stored on a web server must not exceed 4 MB in size or they will not load in the Power BI service.

Image use guidance for paginated reports - Power BI | Microsoft Learn

 

If it does not help, please provide more details.

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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