如何从Power BI调用Web URL

发布于 2025-02-12 15:41:13 字数 665 浏览 0 评论 0原文

我正在尝试使用Power BI中的Web数据源从Power BI调用Web URL。但是我无法实现。

我们要求用户可以单击Power BI上的按钮,以便它应该触发或调用后背的Web URL,当用户单击按钮时,有另一个作业或任务将触发。

我正在使用以下代码从PowerShell中调用Web URL,因此希望将其从Power BI中获得。

$data =@{
"emailId"= "xxxxxxx"
"emailSubject"= "xxxxx"
"emailBody"= "xxxxx"
}

$json = $data | ConvertTo-Json

$LogicAppsUrl = "https://prod-83.westeurope.logic.azure.com:443/workflows/xxxxxxx"
$LogicAppInfo = Invoke-WebRequest -Uri $LogicAppsUrl -Headers @{
"Content-Type" = "application/json"
} -Method Post -Body $json -UseBasicParsing

Write-Host "Trigger Complete"

使用Power BI我们如何实现同一?我们可以做任何选择吗?

请建议使用Power BI的任何替代计划。

谢谢, 梵

I am trying to invoke web url from Power BI using Web data source in Power BI. But I'm unable to achieve.

We have requirement that users can click button on power bi so it should trigger or invoke web url in the backed there is another job or task will trigger when user click on button.

I'm doing invoke web url from powershell using below code, so want to get this to be from power bi.

$data =@{
"emailId"= "xxxxxxx"
"emailSubject"= "xxxxx"
"emailBody"= "xxxxx"
}

$json = $data | ConvertTo-Json

$LogicAppsUrl = "https://prod-83.westeurope.logic.azure.com:443/workflows/xxxxxxx"
$LogicAppInfo = Invoke-WebRequest -Uri $LogicAppsUrl -Headers @{
"Content-Type" = "application/json"
} -Method Post -Body $json -UseBasicParsing

Write-Host "Trigger Complete"

How can we achieve same using Power BI? Is there any option we can do ?

Please suggest any alternative plans to do from power bi.

Thanks,
Brahma

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文