Forum Discussion

vamshi_kotagiri's avatar
vamshi_kotagiri
Frequent Visitor
7 years ago

Cannot configure Matrix Image column width

Hi,

 

I am working on to show a trendline inside a matrix. I could achieve this with SVG Image as an Image URL column and build the SVG.

But, i am not able to set the width and height of that Image. I can only set height which is also taken as width. 

For e.g. If i set the Height as 30, the width is also set as 30. 

In my case if i can set the height and width as 25 and 100 respectievely, my image would be nicely shown. 

For this case i can set height 100 and show the image as 100 * 20 but the row empty space will increase and i have many rows and it is creating a scrollbar. 

Could you please help in setting the height and width for a table column Image?

 

If this is not possible, Can we push any custom css to override the height and width given by Power BI. If this is possible also, please help me i know what css style i need to override. 

 

Thanks,

Vamshi.

3 Replies

    • vamshi_kotagiri's avatar
      vamshi_kotagiri
      Frequent Visitor

      Hi,

       

      The post mentioned contains only the height but i want to configure height and width

       

      Thanks,

      Vamshi. 

    • vamshi_kotagiri's avatar
      vamshi_kotagiri
      Frequent Visitor

      Hi,

       

      If we set the height, the same thing will be taken as width. My image should look like rectangle with 100(width)*30(height) which we cannot achieve. There is nothing in formatting to do the same. 

       

      Thanks,

      Vamshi.