Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

PowerBiIntegration.Refresh() Function Missing / Not Valid

I created a new report in PowerBI and added the PowerApp visual. I have a patch function that I want to update a record. At the end of the patch, I add PowerBiIntegration.Refresh(). However, I am getting an Invocation of an unknown or unsuported function error message. This is brand new powerapp. My PowerBI report is in direct query accessing an MS SQL Server table connected to the enterprise gateway.


Very confused as far as what I am doing wrong. Can someone please help?

Community Support
Community Support

Re: PowerBiIntegration.Refresh() Function Missing / Not Valid

Hi @chan_lee ,


This issue should only happen with existing PowerApps. Did you make sure that this app is newly created?




Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Frequent Visitor

Re: PowerBiIntegration.Refresh() Function Missing / Not Valid

@v-monli-msft  Yes. it's a brand new app. 


I figured out what happened. This has to be a phone app but I don't think that was readily clear in the documentations or I missed it. I need custom dimensions instead of just the portrait or landscape limitations with a pixel dimesion of 1136x640. I got past the issue by rebuilding it as a phone app. In order to get the dimensions I need, I had to save the package out onto my computer and set custom height and width in the properties.json file and upload back up to PowerApps. Why won't this work with a tablet app?

Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (7,503)