Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
When embedding a report using the Power BI Web Embedded approach with the .NET SDK, I encountered an issue where one particular report failed to display on iOS devices, causing the page to crash. The report displays correctly on Android devices.
Has anyone else experienced a similar problem?
Is there a solution available?
Through adding logs, it was discovered that the iOS device crashes before it can execute the following method:
report.on("rendered", function () { console.log("Report render successful");});
This indicates that the failure occurs specifically on iOS when attempting to listen for the "rendered" event on the report object.
Hi @OZZZ ,
It sounds like you're experiencing a compatibility issue specific to iOS when embedding a Power BI report. Could you please try the following steps for further troubleshooting?
Step 1: Rule Out Device-Specific Issues
Step 2: Check for iOS Limitations
Step 3: Browser Compatibility
Best Regards
Hi @v-yiruan-msft ,
Thank you so much for your prompt response! I followed the steps you provided, but unfortunately, the issue persists on iOS devices. While testing various reports, I found that the problem only occurs with the current report so far. Below is a summary of my troubleshooting efforts:
Step 1: Rule Out Device-Specific Issues
I tested the report on three different iOS devices. Occasionally, the page loads successfully once, but most attempts result in a white-page crash.
Step 2: SDK/JS Library Details
To isolate the issue, I simplified the report by removing custom visuals and settings. Unfortunately, even the simplified report failed to load on iOS devices. Simplified settings list below:
const reportConfig = {
type: embedType,
id: embedParam.reportId,
tokenType: models.TokenType.Aad,
accessToken: loggedInUser.accessToken,
embedUrl: embedData.embedUrl,
settings: {
layoutType: models.LayoutType.FitToWidth,
background: models.BackgroundType.Transparent,
panes: {
filters: {
expanded: false,
visible: false
},
pageNavigation: {
visible: true
},
localeSettings: {
language: UserOwnsData.language,
}
}
}
};
Step 3: Browser Compatibility Testing
I tested the report on multiple browsers, including Chrome, Edge, and Safari, but the issue persists across all of them.
Any further insights or recommendations you could provide would be greatly appreciated. Thank you!
Best regards,
Ming
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 |