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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors
Top Kudoed Authors