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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Amogh_Chaube28
New Member

How to add dynamic images to Horizontal Bar Chart in Power BI?

Hi, I am trying to create a Horizontal Car race Visual to assess the performance of 4 different in shifts in a KPI. Right now I have a horizontal bar chart for each shift with KPI values that updates every six hours. I have the sorted the bars by KPI values so the highest always remains on top. Then I have inserted and added Images of cars on top of the bars. I am trying to create a dynamic interaction between images and bars such that with each update (data refresh) when the lenght of bar changes (change in kpi value) cars positioning also change (to give a car race effect). Any help would be appreciated! 

Amogh_Chaube28_0-1729850830475.png

 

3 REPLIES 3
Ritaf1983
Super User
Super User

Hi @Amogh_Chaube28 

I’m not sure if it’s feasible to create a 'movement' effect of the images based on the size of the metric on the graph. It’s also worth noting that this type of display might not be the most effective when it comes to data visualization.

For viewers to interpret the graph in the image, they would need to compare the size of the bars, while also processing the images of cars on top of the bars, which could distract from the data rather than adding meaningful information. It may also be challenging to interpret the spacing between the cars and the different colors of the bars.

A simpler and cleaner race graph could help communicate the sense of a race more effectively.

Ritaf1983_0-1729854572342.png

If the car images add valuable information beyond decoration, perhaps they could be used instead of labels.

I’ve attached an example of a race graph that could help clarify things in case it’s useful.

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
amitchandak
Super User
Super User

@Amogh_Chaube28 , You have pasted a static Image on the top bar visual? Then I doubt you can change size of image dynamically

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Yes, I do not want to change the size just the position according to bar length (to give a race effect). Adding image link in a tabular format did not work me as it wasn't displaying on the bar.

 

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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 Solution Authors