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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
vedika1089
Helper I
Helper I

Images not respecting size ratio in matrix when using repeat row headers

Hello, 

I am using a matrix where I have added Images as row header and and column is the size run.

When I repeat the row headers my images is not respecting the size ratio in matrix.

vedika1089_0-1733843093626.png



Can you help me out.

1 REPLY 1
v-yiruan-msft
Community Support
Community Support

Hi @vedika1089 ,

Base on your description, it seems that the images in the matrix might not maintain their aspect ratio due to the way Power BI handles row header formatting. Could you please try the following methods and check if it can solve your problem?

  • Please make sure that your images have a consistent aspect ratio and size before importing them into Power BI.
  • Adjust image size manually: 1)Manually adjusting the size of images within the matrix; 2)Adjust the padding and spacing settings in the matrix visual.
  • Create a calculated column to fix the size of image and replace the original field with this calculated column
    AdjustedImage = "<img src='" & [ImageURL] & "' width='100' height='100'>"

Best Regards

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.