Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello Everyone,
Recently, I came across one requirement, implement the comments functionality in the embedded power bi report.
I was able to implement following after embedding the power bi report.
var reportContainer = document.getElementById('reportContainer');
console.log(reportContainer);
// Get a reference to the embedded report.
report = powerbi.get(reportContainer);
// Displays the report in full screen mode.
report.fullscreen();
var config = {
type: 'report',
accessToken: accessToken,
embedUrl: embedUrl,
id: reportId,
settings: {
filterPaneEnabled: true/false,
navContentPaneEnabled: false
}
};
// Grab the reference to the div HTML element that will host the report.
var reportContainer = document.getElementById('reportContainer');
// Embed the report and display it within the div container.
var report = powerbi.embed(reportContainer, config);
But, I do not find any option to display the comment section or enable the comment section using java script.
Your help is highly appreciated.
I'm also looking for the same thing, but coming up empty (as of 7/28/2021). Here's Microsoft's documention regarding configuration settings: https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/configure-report-settings
Comments settings are available in Power BI Services, but I'm not finding the option to allow anyone viewing the report in Power BI Embedded to see or add comments.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
2 | |
2 | |
1 | |
1 |