最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

powerbi - Refresh PowerBIIntegration.Data not working - Stack Overflow

programmeradmin6浏览0评论

I am using the Power Apps for Power Bi visual in my power bi report where I have forms that prompt the user to add/edit data after drill through.

However, when I try refreshing the PowerBIIntegration Object with PowerBIIntegration.Refresh() I get an error saying 'Refresh' is an unknown or unsupported function in namespace 'PowerBIIntegration'.

I also tried Refresh(PowerBIIntegration.Data) I get a different error saying only managed connections can be refreshed

This is the last step I need to complete the report I am working on and I have no idea how to fix this. All the documentation I find says to use PowerBIIntegration.Refresh() but I can't seem to figure out why it is not working.

Any ideas on how to fix this?

EDIT: My data is direct query from dataverse

I am using the Power Apps for Power Bi visual in my power bi report where I have forms that prompt the user to add/edit data after drill through.

However, when I try refreshing the PowerBIIntegration Object with PowerBIIntegration.Refresh() I get an error saying 'Refresh' is an unknown or unsupported function in namespace 'PowerBIIntegration'.

I also tried Refresh(PowerBIIntegration.Data) I get a different error saying only managed connections can be refreshed

This is the last step I need to complete the report I am working on and I have no idea how to fix this. All the documentation I find says to use PowerBIIntegration.Refresh() but I can't seem to figure out why it is not working.

Any ideas on how to fix this?

EDIT: My data is direct query from dataverse

Share Improve this question edited Mar 21 at 14:21 iBeMeltin asked Mar 21 at 14:15 iBeMeltiniBeMeltin 1,8421 gold badge4 silver badges18 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 0

You must create the app within the power bi report on Power BI Service not the desktop. This ensures the PowerBIIntegration.Refresh() function is embedded in the app.

If PowerBIIntegration.Refresh() is not working, follow any two approaches below:

  1. Create a power automate that will refresh the report by auto trigger.

  2. If the PowerBIIntegration.Refresh() is not working then use timer like options and it will trigger the auto refresh.

    I was facing the same issue I created a power automated flow to fix this issue.

    https://community.fabric.microsoft/t5/Service/PowerBIIntegration-Refresh-PowerApp-workaround/m-p/3192799

发布评论

评论列表(0)

  1. 暂无评论