Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I used json below to import new icons to PowerBI to use in conditional formating.
On different sources I saw that I can add new icons by uploading json file as a new theme. When I do that I get a pop up table that file successfuly added, but when I go to icons, I don't see my new icons even after I restart the desctop app.
Could someone help me out, what am I doing wrong and why it says successfully added, even though icons wasn't added?
Many thanks!
{ "name":"TestIconTheme", "icons": { "GitHubPurple": { "description": "GitHub Icon", "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAJbElEQVR4nO1cebBWYxj/3Xtbrta5qGiXupIlkqgsNRVarqWYaOoPS2myTTKD0GakUJKxhIQaFAZNlkShMJVCjUSbFrLktim3ut3PPOb3zjxz5pzvrN/5vnud38w73/a+73ne9zzvs58PSJAgQYIECRIkSBAQzQBcC2ACgLkAvgGwCUApgENspfxuNYDXAYznmKb4H6IAwCUAngOwAUAqZPsJwAwAPQHkowqjOYBJAHZYNkC46x1y1SAAHQGcBKAIQHW2In53LvsIt77LsXqu7byGcHWVQRsAM3kUzUJ/BPAAgLNDco1wcwcAY8iJZn651vMAWqMSoy6AqQCOcFHyOhvAeRm85vkA5qhrHgbwKIA6qGS4Sh1VWcwzAFrGeP1WlIvl6mhfgUqAmgCeUEfpcwBnZpGe9gCWKXpmkMacVRKrSeg/AEYAyMs2UaThNgBlpO3rXDR/2vGYCIHrssx1TjiLykto3ArgVOQIOgH4i4QtAVAfuQsxhz4jrbtoFmWd83aRoHm5LF8UCgG8qTYxa5zYFMDPJEQM4WqoPBD78Q3SvoPyO1YIp60iAZ/wrlY21ACwkGtYGffpeYoX3pBG5ok7dRDAfgDrAcwCcHEMmrkzgGcBrAWwF0AF5bSTTNzMtUxHjEZyipvTPk2/6Q7Ov2jpSzNAlwQT1jhcU6I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rUj6/nqkHE04ZGKrGA+F86pkPUCMHMIdM5HPS3ajUrPwCYbeVt+hysl0e5qjgvUAW1M5R6I7jlxWJDnbmwwvDp2udkfTt3y3gJe9AazWKMM7BvPOue2ElUWx5AD2KBOply61+5UoePIExFaEJ4RJqJNwDYq1f7ttte5G2EAZlhyi8f2z1RnFt61dwSGYml0AORaHRGJDMSm2qlwLDo5CfVsXnPzl/BrDkXHss7pNuNAq/fm3dwyc8L3VUd9vsrmlE1WuDYYngHbirAssYt26WNe23OLt/rPTf393RfBf0D+BjiNSEZfX0wAAAABJRU5ErkJggg==" } } }
Solved! Go to Solution.
Hi @beajur
When I imported your theme it changed the colours and attempted to import the icons.
When I replace your image url with mine it works:
I can then assign them:
Try different links in the JSON.
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Could you try a new pbix file?
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Hi @beajur ,
Many thanks for SamWiseOwl's solution! I tried your codes and they all work. Maybe you can try updating to the latest version of desktop or clearing the desktop cache to try again.
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Oh really?! 😯
And after you upload it as a theme you go straight into Conditional Formating and you can see the icons?
I tried to upload file you have attached, but again, it says successfully added, but no new icons.. That makes no sense, why it's not working for me..😭
Could you try a new pbix file?
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Hi @beajur
When I imported your theme it changed the colours and attempted to import the icons.
When I replace your image url with mine it works:
I can then assign them:
Try different links in the JSON.
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Thank you for your reply.
Everywhere was saying to use base64, I tried now to use URL, but still the same:
{ "name":"TestIconTheme",
"icons": {
"GitHubPurple": {
"description": "GitHub Icon",
"url": "https://img.icons8.com/office/40/github.png"
},
"BlueGitHub": {
"description": "Blue GitHub",
"url": "https://img.icons8.com/nolan/64/github.png"
}
}
}
Could you please share your json to see if it woud work for me?
And do you import it through here, right:
HI @beajur
That is where I am uploading yes.
My code is the same as yours:
{
"name": "TestIconTheme",
"icons": {
"GitHubPurple": {
"description": "GitHub Icon",
"url": "https://img.icons8.com/nolan/64/github.png"
},
"BlueDownArrow": {
"description": "Blue Down Arrow",
"url": "https://img.icons8.com/office/40/github.png"
}
}
}
File here: Test Current Theme.json
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |