powerbi 可以使用二进制支持和显示图像吗?

can powerbi support and display images using binary?

我使用来自 SQL 的查询来生成报告,并且我有一个列是 var binary for images。

我使用 GetData 将其拉入 PowerBI,

我如何生成图像?

我可以在 PowerBI 的查询编辑器中查看包含二进制代码的列

栏目名称:图片

但是它在查询编辑器之外不可用

是否需要启用某些设置才能使其正常工作,或者甚至可能吗?

下面是我用来提取数据的查询:

Select 
    prd.ShortCode                                       As 'Short Code'
,   st.CountryName                                      As 'Country'
,   st.Concept                                          As 'Partner'
,   prd.StyleDescription                                As 'Product Description'
,   prd.StockHoldingGroup                               As 'Stock Holding Group'
,   dept.DepartmentNumber                               As 'Department'
,   Sum(sls.SalesExVAT/sls.ExchangeRateEuro)            As 'Sales Ex VAT'
,   Sum(sls.SalesQuantity)                              As 'Sales Quantity'
,   Count(Distinct(sls.BranchNo))                       As 'No of Stores Sold'
,   img.SmallImage                                      As 'Image'


From
    euuksql01.dashboard.dbo.Calendar                cal

Inner Join
    euuksql01.dashboard.dbo.Sale                    sls
On  sls.DateID = cal.DateID

Inner Join
    euuksql01.dashboard.dbo.Product                 prd
On  prd.ProductID = sls.ProductID

Inner Join
    euuksql01.dashboard.dbo.Department              dept
On  dept.DeptID = prd.DepartmentID

Inner Join
    euuksql01.dashboard.dbo.DistrictStructure       st
On  sls.BranchNo = st.BranchNo

Inner Join
    euuksql01.dashboard.dbo.ProductImage                                img
On  img.ShortCode = prd.ShortCode

Where
    cal.FiscalYearWeek      = (Select FiscalYearWeek From euuksql01.dashboard.dbo.calendar where convert(date,getdate()-7) = FullDate)
And st.StoreType            = 'Concession'
And prd.StockHoldingGroup   Not In ('0441','0444','0445')
And dept.DepartmentNumber   Not In (31,32,50,51,52,53,54,55)

Group By
    prd.ShortCode
,   st.CountryName
,   st.Concept
,   prd.StyleDescription
,   prd.StockHoldingGroup
,   dept.DepartmentNumber
,   img.SmallImage  

不,Power BI 不支持将二进制数据显示为图像。

目前只支持显示image from URL / inserting image

你可以找到相关的idea建议here。 (因为binary这个词,有很多垃圾评论。)