Forum Discussion

aaron797's avatar
aaron797
Advocate I
6 years ago
Solved

SVG Icon not displaying

I have imported a set of SVG icons into Powerbi, to use as conditional formatting. Added the code to the JSON file, and it was successfully imported into Power BI. I can see the icons with the rest...
  • aaron797's avatar
    6 years ago

    Okay, so i figured it out.

     

    The fill code was having issues, the # must be replaced with a %23. Not sure if you can encode the SVG's to base64 you could keep the #'s in.

     

    fill='#ED003C'

    fill='%23ED003C'