Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

PowerBIIntegration.Refresh(); in Canvas app outside of a default enfironment

(1) ShareShare
ReportReport
Posted on by 17
Long story short I had a numerous attempts of creating Canvas app nested in Power BI report.
It mostly works fine, except of PowerBIIntegration.Refresh();
 
I already know that to make PowerBIIntegration.Refresh(); to work the app has to be created inside of Power BI service
as a visual.
 
The think is, its only seems to work when a default environment is selected. As soon as I choose another environment
the app stops to recognise the PowerBIIntegration.Refresh(); as a valid formula
 
Is this is the thing? Does the app must be saved in a default environment for PowerBIIntegration.Refresh(); to work?
 
  • MRoger Profile Picture
    MRoger 17 on at
    PowerBIIntegration.Refresh(); in Canvas app outside of a default enfironment
    @@SaiRT14 Thank you for the clarification !
  • Verified answer
    SaiRT14 Profile Picture
    SaiRT14 1,926 on at
    PowerBIIntegration.Refresh(); in Canvas app outside of a default enfironment
    Hi  ,
     
    The PowerBIIntegration object is specifically tied to the environment where the app is created as a visual in Power BI. The default environment has a predefined setup that ensures seamless integration between Power Apps and Power BI.
     
    When you switch to a non-default environment, the app operates outside of the tightly coupled configuration that exists between Power BI and Power Apps in the default environment. This breaks the recognition of PowerBIIntegration.Refresh().
     
    Currently, Microsoft doesn't support full cross-environment functionality for apps using PowerBIIntegration within embedded Power BI reports.
     
    thanks

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard