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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Creating a matrix based on SVG elements

Hi all!

 

I have developed several SVG elements (bullet, sparkline, kpi id etc) which I need to unite in one visual. I'm using matrix and everything is OK, except the enormously big gaps between rows (area for svg element can be only square). So currently I'm creating a separate matrix for each row and then place them in a way they overlap each othere and hide those blank areas. You know, it's so... ugh. So I need to find another solution.

 

Is there a way to develop my own matrix based on my svg images? Does anyone have any link for matrix design tutorial? Thank you.  

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

I believe that there is a Grid setting for tables and matrices and within that Grid area there is a setting called Image height. When I was dealing with SVG images a while ago, I found that I could solve a lot of problems by adjusting that Image height in the Grid area. As I recall, it is set to some wacky huge default. Your mileage may vary.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

hi! Thank you, but I've tried this before. When we change height, our cell for svg element still remains foursquare. It's one of those simple basic bugs power bi team doesn't want to pay attention to 😞 And my svg element is oblong rectangular (let's say with height 20 and width 100). So all other huge space remains blank (in this case 80x100). And we can do nothing with this. I'm not sure is it possible to fix this with my custom matrix or not.

 

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.