简体   繁体   English

Power BI自定义表

[英]Power BI Custom Table

I am very struck in this issue and I searched everywhere but couldn't found solution.I have requirement to make table which should have image column. 我对这个问题感到非常震惊,我到处搜索但找不到解决方案。我要求制作应具有图像列的表。 As the default table visual in power bi don't have this kind of option. 由于power bi中的默认表视觉没有这种选择。

I have 2 requirements one if I can have image column in table or if some how I can change the row color of table on some condition. 我有2个要求,一个是我可以在表中有图像列,还是可以在某些情况下更改表的行颜色。

Please find the below image. 请找到下图。 图片

Thanks 谢谢

You have two very different requirements. 您有两个非常不同的要求。 Let's tease them apart: 让我们把它们分开:

1) image columns. 1)图像列。 this is supported in Power BI tables. Power BI表支持此功能。 You need to go to your data model, ensure there is a image URL field that point to a network accessible image (no authentication) and set it to 'image url'. 您需要转到数据模型,确保有一个图像URL字段指向网络可访问的图像(无身份验证),并将其设置为“图像URL”。 The image will load in the table much like what you showed. 图像将像您显示的那样加载到表中。 One image per column is supported. 每列支持一张图像。 Please note that if you do this, you should scale your images in your storage to be small enough to load quickly. 请注意,如果这样做,则应缩放存储中的图像,使其足够小以快速加载。

2) conditional formatting on tables. 2)对表进行条件格式化。 That's on our backlog. 那是我们的积压。 Right now you can build a custom visual like Nicolo suggest. 现在,您可以像Nicolo建议的那样构建自定义图像。

Conditional Formatting is now possible in PowerBI: 现在可以在PowerBI中进行条件格式设置:

PowerBI-Desktop-Conditional-Table-Formatting PowerBI桌面有条件表格式化

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM