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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard