Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi team, I need to create new bespoke icons using images from our comms team. So, for example, when a team name is used in a graph instead of the 'name' being displayed the 'icon/image' is displayed instead.
I have looked through the different forms around customising icons etc but can't see one on using a bespoke icon, and a proper step by step ‘dummies guide’ to getting this into the Power BI icon drop down list (as shown below).
Or is there a better way to do it? A rule when the 'text' is used then use the corresponding ‘image’? Not sure how that would work??
NOTE: All bespoke icons from comms are currently PNG files.
Hi @Sabz13
Here are some suggested answers:
Note 1: I have attached a JSON file containing 4 custom icons, and a PBIX using those icons.
Note 2: In code blocks, the forum converts colon characters to &colon. If you are copying the code, please change these back to actual colon characters 🙂
1. Adding Icons to Theme
{
"name": "Custom Icons",
"icons": {
"Checkers": {
"description": "My Grey Checkers",
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQMAAAD+wSzIAAAABlBMVEX///+/v7+jQ3Y5AAAADklEQVQI12P4AIX8EAgALgAD/aNpbtEAAAAASUVORK5CYII"
}
}
}
2. Applying these icons in Power BI Desktop
Selected Icon =
SELECTEDVALUE ( Score[Icon] )
Some screenshots below:
Icon drop-down menu:
Field value method with measure [Selected Icon]
Visual with conditional formatting using icons
Regards,
Owen
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
124 | |
79 | |
49 | |
38 | |
38 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |