cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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?

2 REPLIES 2
Highlighted
Community Support
Community Support

Hi @chan_lee ,

 

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

 

Regards,

Mona

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.
Highlighted

@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

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (10,883)