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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

SVG shows as broken when used in a matrix visual, but shows just fine in a SVG editor

Hi

 

I've got the below SVG which I want to display in PowerBI. I've set the data cateogry = Image URL

When I use it in a matrix visual I get a broken image notification. Does anyone know why?

 

 

<svg width='96' height='96' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' overflow='hidden'>
<defs><clipPath id='clip0'><rect x='338' y='296' width='96' height='96'/></clipPath></defs>

<g clip-path='url(#clip0)' transform='translate(-338 -296)'><path d='M358.2 371.1C358.2 372.8 359.5 374.1 361.2 374.1 362.9 374.1 364.2 372.8 364.2 371.1L364.2 362.1 358.2 362.1 358.2 371.1Z'/>

<path d='M429.2 334.8 419.7 323.7C422.3 323 424.2 320.7 424.2 317.9L424.2 315.9C424.2 314.8 423.3 313.9 422.2 313.9 421.1 313.9 420.2 314.8 420.2 315.9L420.2 317.9C420.2 319 419.3 319.9 418.2 319.9L412.2 319.9C411.1 319.9 410.2 319 410.2 317.9L410.2 315.9C410.2 314.8 409.3 313.9 408.2 313.9 407.1 313.9 406.2 314.8 406.2 315.9L406.2 317.9C406.2 319.4 406.8 320.8 407.7 321.9L399.2 321.9 352.2 321.9C350 321.9 348.2 323.7 348.2 325.9 344.9 325.9 342.2 328.6 342.2 331.9L342.2 353.9C342.2 355 343.1 355.9 344.2 355.9 345.3 355.9 346.2 355 346.2 353.9L346.2 332C346.2 330.9 347.1 330 348.2 330L348.2 356 348.2 371C348.2 372.7 349.5 374 351.2 374 352.9 374 354.2 372.7 354.2 371L354.2 360 364.2 360C366.4 360 368.2 358.2 368.2 356L388.2 356 388.2 371C388.2 372.7 389.5 374 391.2 374 392.9 374 394.2 372.7 394.2 371L394.2 356 398.2 356 398.2 371C398.2 372.7 399.5 374 401.2 374 402.9 374 404.2 372.7 404.2 371L404.2 355.8C407.6 354.9 410.2 351.8 410.2 348.1 410.2 344.5 413.1 339.1 417.2 339.1 419.9 339.1 422.9 340.4 424.6 341.3 425.5 341.8 426.6 341.5 427.2 340.6L429.3 337.4C429.9 336.5 429.8 335.5 429.2 334.8Z'/>

</g>
</svg>

 

 

Status: Investigating

About show SVG image in Power BI, you can refer this article:

https://dataveld.com/2018/01/13/use-svg-images-in-power-bi-part-1/

 

If it still has the same issue, you can consider providing more details about 'broken image' in the matrix like some screenshots or error messages if the reminds in the visual.

 

Best Regards,
Community Support Team _ Yingjie Li

Comments
v-yingjl
Community Support
Status changed to: Investigating

About show SVG image in Power BI, you can refer this article:

https://dataveld.com/2018/01/13/use-svg-images-in-power-bi-part-1/

 

If it still has the same issue, you can consider providing more details about 'broken image' in the matrix like some screenshots or error messages if the reminds in the visual.

 

Best Regards,
Community Support Team _ Yingjie Li