Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

How to display the comments pane in the Embedded POWER BI report

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.

  1. Full screen feature
    • 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();

  2. Show/hide filter panel.
    • 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.

 

1 REPLY 1
DaveLaidlaw
Frequent Visitor

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.

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.