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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.