web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerBIntegration.Refr...
Power Apps
Unanswered

PowerBIntegration.Refresh() not working

(0) ShareShare
ReportReport
Posted on by 30

I have a new Power App that I am trying to integrate with a new Power BI report. The data source for both is a SharePoint Online list.  The Submit button in the form does 3 things: SubmitForm, PowerBIIntegration.Refresh, and NewForm.  The issue is that the new row is written to SharePoint but the Power BI report is not updated until I manually refresh the data in the PBI service. 

 

I've noticed that the following sequence seems to work:

1. Add the row using the Power App in the report through the PBI service.

2. Manually refresh the data source.

3. Click the Refresh button on the Report page in the PBI service.

 

Suggestions?

 

Categories:
I have the same question (0)
  • Verified answer
    v-monli-msft Profile Picture
    on at
    Re: PowerBIntegration.Refresh() not working

    Hi @lburgess ,

     

    Are you using the PowerApps custom visual for Power BI? If so, see the limitations of the PowerApps custom visual:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/powerapps-custom-visual

    The PowerApps custom visual can't trigger a refresh of Power BI reports and Power BI data sources from within Power BI Desktop. If you write back data from the app to the same data source as the report, your changes won't be reflected immediately in Power BI Desktop. Changes are reflected on the next scheduled refresh.

     

    If you use PowerBIIntegration.Refresh() function, you must use a source that supports DirectQuery and the data connection must be created using DirectQuery method.

     

    Regards,

    Mona

  • lburgess Profile Picture
    30 on at
    Re: PowerBIntegration.Refresh() not working

    The issue seems to be that Power BI does not support direct query to SharePoint. 

     

    Thanks!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard