我正在尝试将URL过滤器传递给已发布的报告,但无法使其正常工作。
该报告: app.powerbi/view?r=eyJrIjoiOGExYjhhYmMtZmU0OS00ZGJjLWE3YmUtNTM5MjM1OWIzZTA5IiwidCI6IjUyM ...
我在这里尝试使用该方法:将参数以编程方式传递到Power BI过滤器。
适用于此链接: app.powerbi/groups/me/reports/8d3cbf1e-3d89-46d3-ac1a-b24d0784b125/ReportSection?filter= ...
任何想法如?这不可能吗?如果不是,最终目的是能够将其嵌入到另一个页面中,是否可以使用其他方法?
解决方案您提供的URL:报告:。视图?不支持使用查询字符串过滤器选项发布到Web报表。
如果要以编程方式对报表进行过滤,则应使用我们支持的开发人员选项之一:
A) powerbi.microsoft/zh-cn/documentation/powerbi-developer-integrate-report-load-report-iframe/
B) https:// azure.microsoft/zh-CN/documentation/articles/power-bi-embedded-iframe/
您提供的第二个链接直接是URL到www.powerbi,也支持URL过滤器语法。基于该选项,A可能就是您想要的。
I'm trying to pass a URL filter to a published report but am unable to get it to work.
The report: app.powerbi/view?r=eyJrIjoiOGExYjhhYmMtZmU0OS00ZGJjLWE3YmUtNTM5MjM1OWIzZTA5IiwidCI6IjUyM...
I've tried using the method here: Passing parameters to Power BI filter programmatically by adding &filter=Table1/ZipKey eq '00001' to the end of the URL but that doesn't work.
It works for this link: app.powerbi/groups/me/reports/8d3cbf1e-3d89-46d3-ac1a-b24d0784b125/ReportSection?filter=...
Any ideas? Is this not possible? If not, the end goal is to be able to embed this within another page, is there a different method I could use?
解决方案The URL you provided: The report: app.powerbi/view?r=eyJrIjoiOGExYjhhYmMtZmU0OS00ZGJjLWE3YmUtNTM5MjM1OWIzZTA5IiwidCI6IjUyM [snip]
is a publish to web report. The query string filter option is not supported for publish to web reports.
If you want to do programmatically filter the report you should use one of our supported developer options:
A) powerbi.microsoft/en-us/documentation/powerbi-developer-integrate-report-load-report-iframe/
B) azure.microsoft/en-us/documentation/articles/power-bi-embedded-iframe/
The second link you provided is a URL directly to the www.powerbi, where the URL filter syntax is also supported. Based on that option A may be what you're looking for.
更多推荐
如何将URL筛选器传递到Power BI发布到Web报表
发布评论