以编程方式将参数传递给 Power BI 筛选器 [英] Passing parameters to Power BI filter programmatically

查看:28
本文介绍了以编程方式将参数传递给 Power BI 筛选器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,我正在显示 Power BI 报告.它已经可以工作了,因此通过其 ID (guid) 显示任何报告都没有问题.

In my application I'm displaying a Power BI report. It already works, so there's no problems with showing any report by its ID (guid).

但是有些报告需要参数化,例如,使用当前年份或查看报告的人.这是我的问题:怎么做?

But there are some reports that need to be parametrized, for instance, with current year or person who views the report. That's my question: how to do it?

更具体地说,我将报告嵌入 HTML