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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. 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
Power Participant
Power Participant

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
Power Participant
Power Participant

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors
Top Kudoed Authors