powerbi - 将本地存储的图像添加到 Power BI 强制有向图节点
问题描述
我知道可以通过指定 url 来更改节点图像。但是,是否可以引用本地存储的图像/图标?
谢谢,
解决方案
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
推荐阅读
- r - 如何防止 as.POSIXct 简化时间
- asp.net - 无法在 Framework 4.6.1 中验证数据
- c# - C# 用户在 DataGridView 中选择一个单元格不会触发 SelectionChanged 事件?
- reactjs - 使用组件访问商店
- apache - 如何为机器人 noindex 添加条件到 htaccess 或 conf 文件
- python - Paramiko exec_command 失败,“NoneType”对象不可迭代
- apache-spark - 在 Spark 中,加入所有数据帧并从中挑选,通过加入中间 DF 建立起来是否更快?
- svn - svn - 如何在“两个版本之间”提交更改?
- ios - iOS 辅助功能旁白在带有高标题视图的表格视图中无法按预期工作
- docker - 增加 Azure WebApp for Containers 的启动超时