Forum Discussion
Custom icons using svg code help
- 1 year ago
Hi ACraig08 ,
Thanks for posting your query in the Microsoft Fabric Community. I tried using inline SVG (data:image/svg+xml) in a calculated column and applied it through conditional formatting in a table visual. However, Power BI doesn’t support rendering SVG data URIs inside table visuals. Instead of displaying the icon, it shows the raw SVG code as plain text.
This appears to be a known limitation in Power BI, where image rendering only works with actual image URLs pointing to hosted files (PNG or JPG from the web), rather than inline SVG strings.
As an alternative, you can create icons using conditional formatting, following the approach outlined below.
If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.
Hi ACraig08 ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.