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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

How to control image size in table

I am returning an image in a table and am having difficulty in controlling the size. The two images below are the same height but the table renders the left image smaller.  Left is 16 x 48, right is 16 x 16.

How can i get the left image to render full size without incresing the row height?

 

Capture.PNG

 

 

PNG of the left  image 16 58afdad6829958a978a4a693 (1) (2).png

 

PNG of the right image  QUESTION cf_55p.png

2 REPLIES 2
dax
Community Support
Community Support

Hi NotDave,

As I know, powerbi can't modify the image size automatically, I think you could change this  by image tool(might need third-part image tool), then import in powerbi. In addition, you also could use image(seems only apply for simple shape) like below, which seems could modify size

"data&colon;image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' width='100' height='100' viewBox='0 0 100 100'> <circle cx='50' cy='50' r='40'  stroke='purple' stroke-width='4' fill='purple' /> </svg>";

 You could refer to Conditional Formatting Using Icons In Power BI  for details.

Best Regards,
Zoe Zhi

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

Anonymous
Not applicable

Hi, it appears that PowerBI is scaling the images. Please see screenhsot below where i have increased row height to 50. AS you can see the image now matches the height of the RAG column.

 

Capture.PNG

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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