触发 Power BI 中的 Azure 函数。

huangapple go评论66阅读模式
英文:

Trigger an Azure Function from Power BI

问题

我们正在使用Power BI嵌入式来显示来自Cosmos Db的数据。我们需要尝试以下功能:

  1. 显示一个带有聚合值的柱状图。
  2. 根据柱状图显示详细表格。
  3. 在表格中放置一个复选框(其中包含一个GUID)。选择多个GUID,然后单击将触发Azure函数,并将GUID作为输入发送到该函数。

我们能够完成#1和#2。是否可以使用Power BI嵌入式实现功能#3?

英文:

We are using Power BI Embedded to display data which is coming from Cosmos Db. We have to try the following thing

  1. Display a Bar chart with an aggregated value
  2. Display the detailed table based on the Bar chart.
  3. Have a checkbox in the table (there is a GUID). Select multiple GUIDs and on a click this will trigger an Azure Function and send the GUID as an input to the function.

We are able to perform #1 and #2. Is it possible to achieve functionality #3 using Power BI Embedded.

答案1

得分: 2

我认为你可以通过与Power Automate集成来实现这个。请参考这篇文章:https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-automate-visual?tabs=powerbi-desktop

  1. 创建一个具有可以触发Azure函数的HTTP连接器的Flow
  2. 将此Flow连接到Power BI中的Power Automate可视化

Flow应该能够在触发时接受上下文数据,例如这个GUID,以传递给Azure函数。你可以将GUID列(或计算所选GUID的度量)分配给Power Automate可视化。

英文:

I think you can do this by integrating with Power Automate. See this article: https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-automate-visual?tabs=powerbi-desktop

  1. Create a Flow with a HTTP connector that can trigger your Azure function
  2. Connect this Flow to the Power Automate visualization in Power BI

The Flow should be able to accept contextual data upon triggering, e.g. this GUID, to pass on to the Azure function. You assign the GUID column (or measure that calculates the selected GUID) to the Power Automate visual.

huangapple
  • 本文由 发表于 2023年2月9日 00:50:28
  • 转载请务必保留本文链接:https://go.coder-hub.com/75389082.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定