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

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?

 

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

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,300)