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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.