Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
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?

  • cchannon Profile Picture
    4,702 Super User 2025 Season 1 on at
    Re: PCF Loading Error for first time

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

  • surya_kiran Profile Picture
    21 on at
    Re: PCF Loading Error for first time

    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 Super User 2025 Season 1 on at
    Re: PCF Loading Error for first time

    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
    Re: PCF Loading Error for first time

    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 Super User 2025 Season 1 on at
    Re: PCF Loading Error for first time

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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 81 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 53 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 48

Overall leaderboard