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?
Try using the PowerBI React client I listed above. It might make things both easier and more reliable.
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
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).
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.
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...?
WarrenBelz
81
Most Valuable Professional
mmbr1606
53
Super User 2025 Season 1
stampcoin
48