web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PCF Loading Error for ...
Power Apps
Unanswered

PCF Loading Error for first time

(0) ShareShare
ReportReport
Posted on by 21

Dear Community,

I am using a PCF code component to embed Power BI Report in PowerApps. In Edit Mode, I am able to view my Power BI Report even if I Navigate to Report Screen where code component is embedded for the first time. But when I am using the Web Link, first time when I navigate to my report screen It says "error loading control". The same thing if i Open again (all subsequent times), my report loads. Any ideas on where problem is occurring?

I have the same question (0)
  • cchannon Profile Picture
    4,702 Moderator on at

    Not totally sure I understand. When you say "first time" do you mean on a Create New form? the first time you open an edit form after creating it? the first time you navigate to the page in one browser session...?

  • surya_kiran Profile Picture
    21 on at

    Hi @cchannon,

    I am using a Code Component inside my PowerApp to embed Power BI Report. 

    In one browser session, if i navigate to my Report screen where I inserted my Code Component, I shows "error loading control".. subsequent times it loads properly.

    If i refresh and again open, It shows "error loading control" for first attempt I open that screen.

     

    Note- This is a Code Component built using PCF of PowerApp to embed a PowerBI Report.. Similar to a PowerBI tile already available.

  • cchannon Profile Picture
    4,702 Moderator on at

    Well, that kinda sounds like an authentication issue... When you build your control, did you just iframe in the PowerBI report, or did you use the Power BI React Client to embed it? My guess is that the latter is much more stable (although I have never done it myself).

  • surya_kiran Profile Picture
    21 on at

    I am using JavaScript container to embed PowerBI report. From code I am creating and fetching report from power BI and showing in that control

  • cchannon Profile Picture
    4,702 Moderator on at

    Try using the PowerBI React client I listed above. It might make things both easier and more reliable.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard