Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
arpost
Advocate V
Advocate V

How do you refresh the integration with Power Apps visual?

I have a Power Apps app created using the Power Apps visual in Power BI. I have connected the app to a new Power BI report and have added new fields but cannot find a way to "refresh" the data in Power Apps so I can see the correct fields. Is there something I'm missing in the Power Apps studio?

 

UPDATE: To clarify, I am not seeing the Power Apps-Power BI integration update the field schema on the Power Apps side when I add to/remove fields from the Power Apps visual in Power BI. So, if I originally provided 5 fields and then changed that to just 1 in Power BI, I'm still seeing all 5 fields in Power Apps.

 

Power BI Config:

arpost_0-1626269435411.png

Power Apps Schema:

arpost_1-1626269517660.png

 

 

8 REPLIES 8
1DiazGUT
Regular Visitor

the for the update that is (you need to publish online for that works remember you are just trying to get the two online tools to talk to each other again.😞

 

1. Go to Power BI - online version (make sure you are using the latest pbix)

2. Go to the page with the power app embedded.

3. Edit the page and change the app visual back to a normal table. Save the Power BI, then change pages, come back and then go back into edit mode.
4. Change the table back to a PowerApp visual.

5. Then navigate to your PowerApp.

and Done

Whoa! Why did this work? Thank you! Just as you suggested, I edited the Power BI Report in the Online Edit mode, changed the Power App to a table, saved the report, switched to a different Report page then switched back, then changed the Power App table visual back to a Power App visual. All the sudden the PowerBIIntegration.Refresh() started triggering like directed in my Power App's code! WOW! What tf...Another nonsensical weird Microsoft quirk in their convoluted web of buggy overly-complex softwares that we need to work around

Jveldhuis
New Member

The Integration and Datamodel From PowerBI to the Connected PowerApp is only shared during creation of the connection. So the powerapp still thinks that all the data you shared at the initial integration is available.

The solution to only show the "correct" Datamodel in the powerapp is to remove it from the report and reconnect it. You than have to "edit" and save the app to propagate the correct Datamodel. 

v-yalanwu-msft
Community Support
Community Support

@v-yalanwu-msft, I just updated my OP with images and more detail to further explain my situation.

@v-yalanwu-msft, thanks for those resources. Perhaps a better way for me to say it is I am needing to literally refresh the "schema" of the integration, which doesn't appear to be happening. Do you know of a way this can be done?

amitchandak
Super User
Super User

@arpost , can you add another power app visual and check are you getting the latest version of that.

@amitchandak, I continue to see the updates I make to my Power App, so that refresh direction is fine; the problem is changes on the Power BI side aren't propagating to the Power App to which I'm connected. I added an additional clarification and some images to my OP as well:

 

Power BI Config:

arpost_0-1626269687493.png

 

Power Apps Schema:

arpost_1-1626269687496.png

 

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.