Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

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:
  • 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!

  • 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

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1