Power BI

Power BI custom Icons (complete theme code)

Vorbereitung/ Preparation

Im ersten Schritt benötigst du Bilder die du für die Icons nehmen möchtest. Nutze am besten .png damit es keinen Hintergrund im Icon gibt. Danach geht einfach auf die Seite: https://www.base64-image.de/ und wandelt euer Bild in einen Base64 code. Diesen fügt ihr dann in den folgenden JSON code ein:

{
	"name": "Icons"
	,"dataColors":["#4A8DDC","#4C5D8A","#F3C911","#DC5B57","#33AE81","#95C8F0","#DD915F","#9A64A0","#6EA4E3","#707DA1","#F5D441","#E37C79","#5CBE9A","#AAD3F3","#E4A77F","#AE83B3","#386AA5","#394668","#B6970D","#A54441","#268361","#7096B4","#A66D47","#744B78","#25476E","#262F45","#7A6509","#6E2E2C","#1A5741","#4B6478","#6F4930","#4D3250"]
	,"background":"#FFFFFF"
	,"foreground":"#070f25"
	,"tableAccent":"#0F1934"
	,"icons": {
		"RedIcon": {"description": "Red", "url": "Your Image Code"}
	,"AmberIcon": {"description": "Amber", "url": "Your Image Code"}
	,"GreenIcon": {"description": "Green", "url": "Your Image Code"}
	}
}

In the first step you need images that you want to use for the icons. It is best to use .png so that there is no background in the icon. Then simply go to the page: https://www.base64-image.de/ and convert your image into a Base64 code. Then insert this into the JSON code above.

Tags: Power BI
Power BI tips of the day
Power Automate Visual in Power BI (Protocol Button)
Menü