首页 > 解决方案 > 将本地存储的图像添加到 Power BI 强制有向图节点

问题描述

我知道可以通过指定 url 来更改节点图像。但是,是否可以引用本地存储的图像/图标?

谢谢,

标签: powerbi

解决方案


If your images are small enough then you can embed them in the file as binary data.

Create a text column from your image column along these lines:

"data:image/png;base64, " & Binary.ToText([Column to covert], BinaryEncoding.Base64)

You can then use that column in your report as images once you switch the Data Category to Image URL.

I don't have time to explain in detail at the moment, but there are a couple of blogs that do a great job.

Blue Granite: SIMPLE STEPS TO EMBED IMAGES IN POWER BI

Gerhard Brueckl's BI Blog: Storing Images in a PowerBI/Analysis Services Data Models


推荐阅读