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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
LileeMohapatra
Regular Visitor

Dynamic Image display based on Slicer value

I have  image files(.jpeg) for  30 train stations are in sharepoint folder. I would like to display the station image based on station slicer.

I tried doing the excel sheet with Station name  and image url and add into Power query and change the caregory as web URL.Neither pics are changing dynamically based on Station name selection in Desktop or in Power Bi service. 

Even i asked the share poit Admin  to provide  the external access for that image folder,they are working on 

Please guide me what i need to do for dynamic display of image.

1 ACCEPTED SOLUTION

Hi @LileeMohapatra   ,
Thanks for reaching out to the Microsoft fabric community forum. 

Please go through the solved issue which may help you to solve the issue
Solved: Dynamic Images based on Slicer selection - Microsoft Fabric Community

 

If I misunderstand your needs or you still have problems on it, please feel free to let us know.   

Best Regards, 
Community Support Team  

 

View solution in original post

11 REPLIES 11
LileeMohapatra
Regular Visitor

Somehow the Issue is with Sharepoint, I will ask User to pull all  image files in One drive.Right now the image filles are in Sharepoint folder.

Shahid12523
Community Champion
Community Champion

Create a table with Station → Direct Image URL.

Mark the URL column as Image URL in Power BI.

Relate it to your Station table.

Use a slicer on Station → the image will change dynamically.

⚠️ Make sure SharePoint links are direct .jpg/.png links (publicly accessible), not folder/view links.

Shahed Shaikh

I tried thw way you mentionedat first instance,it did not work

Hi @LileeMohapatra   ,
Thanks for reaching out to the Microsoft fabric community forum. 

Please go through the solved issue which may help you to solve the issue
Solved: Dynamic Images based on Slicer selection - Microsoft Fabric Community

 

If I misunderstand your needs or you still have problems on it, please feel free to let us know.   

Best Regards, 
Community Support Team  

 

Hi @LileeMohapatra ,

I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you.

Best Regards, 
Community Support Team  

Hi @LileeMohapatra ,

I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you.

Best Regards, 
Community Support Team  

Hi @LileeMohapatra ,

Can you please confirm whether the issue is sorted or not.

Thank you.

pankajnamekar25
Super User
Super User

Hello @LileeMohapatra 

 

Try these

Power BI, set your image column’s Data Category = Image URL (not Web URL).

Images only display if the link is publicly accessible without authentication.

SharePoint links usually need login → you must create a direct/public link (or host them in OneDrive/Azure/CDN).

Keep a mapping table (Station → Image URL) so the slicer filters the correct image.

If public links aren’t possible, use Base64 encoding or another hosting option.

Main issue your SharePoint links aren’t direct/public, so Power BI can’t render them dynamically.

 


If my response helped you, please consider clicking
Accept as Solution and giving it a Like 👍 – it helps others in the community too.


Thanks,


Connect with me on:

LinkedIn

 

MFelix
Super User
Super User

Hi @LileeMohapatra ,

 

You refer that you change the category to WebURL however you need to change it to ImageURL to get the image.

 

Can you please check if you do that change that it works properly, if not can you please share the URL, please change the specific tenant charater by yyyyy so that you don't share confidential data of your company.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



MohamedFowzan1
Solution Specialist
Solution Specialist

Hi @LileeMohapatra 

 

Making sure the images are accessible without authentication should be sufficient.

Within PowerBI, select the column in Model View > Advanced > Data Category > set it to Image URL.

MohamedFowzan1_0-1756480330412.png

 

 

If this is not helping, do let us know the exact error faced.

 

sorry, the image url option there, still its not working

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors