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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Custom Icons for conditional formatting in table

Hello,

 

I'm having trouble getting my custom icons into power bi. Ive found a few outside of the ones provided in power bi on this website - Download 1,297,800 free icons (SVG, PNG) (icons8.com)

 

I would then type it out in a json file trying to import it in as a theme in powerbi but it keeps giving me this error -  

Ronaldo_Gaitan4_0-1688775115257.png

Im not familiar with Json syntax but i did follow some instructional videos online such as this one where i input the base64 code of each image. - Importing Custom JSON Icons into Power BI | Improve Your Conditional Formatting #data - YouTube

 

This is my json syntax - {
"Name": "Custom Icons",
"icons": {
"Exhibit Redlines Icon": {
"description": "Contract Redlines",
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAAsTAAALEwEAmpwYAAADQElEQVR4nO2azWsTQRjG5yCeRLAFEW/q2X9Ats0hB017mEnL4sGDF4+exQ9qtdhaS20rQqkiJFW81G+atupBUUITwV6iVSibZJtYqW3ovoGWQloYmU1C0rRN87Hb7GbmgQd2ltn5+PG+O++GICQkJCS0g2RZPkgIuYcx/ksIobt4gRDSy/qyZwghX4r0NdUY4zghxIWMEiGkt4wF9GaecdUKQMYxIwEsZMieKdJHykYCa7vd7qM1BkCNBEBLGbCwH/cAAIDupy0XASAAQITrCEgmk40AELYtgH+j6FZ0BG0ueBBdf4doyleix1F8YwLp5zAAyLYFEHmENpVhRNfflrH5nPVzGAAabAtAGUaUuYLN686Ok11g6hKpygIAWCQCFp8i6r+JqL8zfc1dBPg7Ef10NW0GgjsA07dzANh1qQDq5iW49DwHgF1zByDlywEo5RQIhULUDNcUwPceRGd6OAaQqqAOqKsUSPEAIGJAKayq6gnbpsDiM9TBIOgfQ+VBiG340Dk2hqIoA7YFUK3Yh5CmaXO2TYFKlUgkDmua1r6fm68JAEmSaL4LF2RW6FsmBSQBQCoaASZbBYALLN0yP7qcJ4RELBUBYJ5jq6urxwrXQwhpxBiHLQMgZFLuh8PhETZ/dGLwGgS8MQh6ozDt0Y9dt9st8wDgNJt/9lX3BgS9VHfAM8/uybLcYBkAYJKz84fGutKbzzh7XwAgdZ4CyC4REOIdANToHdDa2noEY9zOLYB9k2RwClQLIDo5eAOCnj8Q8MSTAa9rW3ti6DoEvapeO3wbPVt3AGa31AXe2PZ2T37dEDEdAJhU++8GoNy2nQDEdqr9uQGwsrJykc2nTg1dya/9uQGwvLx8nM3363V3Kr/25wYAyqjaDQsAY3UWAbCHE/4nRdt1DwD2sABQrSQRAdKWFMAYm/Kvb4fDcYAB//Gii2oBC6dAS0uLKQDa2tpOsvl+v7m7tvT1sXUANDU1beYDcDgcZkXBZTafMtU/oPj6rQPA6XR2FEJobm6mLpfLUBAYY1WW5UM6BF//5/kPD6wBoFYK++5Pqu+H+AXANDfeNxP/+JBfAPOTfad+vrzDLwAjKkN9ECEhISGU1n9LPHVtBXIkYwAAAABJRU5ErkJggg=="
}
}
}

 

can anyone tell me what im doing wrong or if there is another way to go about it?

 

 

 

1 ACCEPTED SOLUTION
OwenAuger
Super User
Super User

Hi @Anonymous 

Your JSON is almost all correct.

Two things to fix:

  1. "name" must be in lowercase
  2. In the image URL, ":" must instead be ":" (this may have been correct in your JSON file and just changed due to forum behaviour)

I have attached a fixed JSON them file that imports successfully into Power BI Desktop.

 

Regards


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

View solution in original post

1 REPLY 1
OwenAuger
Super User
Super User

Hi @Anonymous 

Your JSON is almost all correct.

Two things to fix:

  1. "name" must be in lowercase
  2. In the image URL, ":" must instead be ":" (this may have been correct in your JSON file and just changed due to forum behaviour)

I have attached a fixed JSON them file that imports successfully into Power BI Desktop.

 

Regards


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors