cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sabz-13
Frequent Visitor

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!




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

Helpful resources

Announcements
Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!