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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Anonymous
Not applicable

Custom Icons - only 1 showing up from the list in the JSON file

I have created a JSON file for some custom icons (10 of them) I would like to add into my Power BI custom icon formatting options.

The code is all valid as have checked it through codebeautify. I import the file in and it works, however, when I go to the icon section only 1 x icon (forestry) has been added from my JSON file and it is the last one on the list. The others haven't been added and there isn't a scoll option.

 Even though the code is correct have I missed something? The code example is below (have removed the base64code as too long).

 

Why is it just taking the last icon and not the others? Thank you for any help you can offer. 

 

{
"name":"Sector Icons"
,"icons":
{
"GraphIcon":{"description":"Alternative Protein","url":
"BASE64CODE"}, 

"GraphIcon":{"description":"Dairy","url":
"BASE64CODE"}, 
"GraphIcon":{"description":"Forestry","url":
"BASE64CODE"} 
}
}

1 ACCEPTED SOLUTION
KerKol
Super User
Super User

Try giving them a unique name...

 

KerKol_0-1666606242804.png

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
KerKol
Super User
Super User

Try giving them a unique name...

 

KerKol_0-1666606242804.png

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Ah yes thank you, I had in the description but not at the start. Worked great, cheers. 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors