Power BI-创建可视链接 [英] Power BI - create link visual

查看:280
本文介绍了Power BI-创建可视链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已经开发了一种自定义视觉效果,其中包括一个< a> 标签,该标签沿整个视觉主体延伸(类似于imagebutton)。通过单击< a> 容器,应将用户导航到另一个PowerBI报告。我们的解决方案可以在Power BI开发人员工具中使用,但是在Power BI中使用导出的视觉效果时会遇到一些问题:
链接在浏览器中不起作用,可能是由于沙盒,这在开发工具中是不会发生的。

We’ve developed a custom visual which includes an <a> tag stretched out along the whole visual body (something like imagebutton). By clicking on the <a> container, the user should be navigated to another PowerBI report. Our solution works in the Power BI developer tools, but we’re experiencing some problems when we use the exported visual in Power BI: The Link doesn’t work in browsers, probably because of sandboxing, which is not happening in dev tools.

我们可以禁用沙箱吗?或者,我们如何创建导航到另一个报表的图像按钮 -Visual?

Can we disable the sandboxing? Alternatively, how can we create an "Image-Button"-Visual, which navigates to another report?

推荐答案

您可以禁用沙箱通过添加以下查询字符串:

You can disable sandboxing by adding this querystring:

?sandboxVisualsEnabled=false

这将删除iFrame并且不使用沙箱。

This removes the iFrame and doesn't use Sandboxing.

也可以尝试使用刚刚发布的新视觉效果,可能会有更多成功:
PowerBI Visuals文档

Also try the new visuals that have just been released, you may have more success: PowerBI Visuals Docs

这篇关于Power BI-创建可视链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆