Anonymous
Not applicable

@Adarsh Singh​ :

It seems like you have successfully authenticated and created a report object using the powerbiclient library. However, it's not clear how you are trying to load and display the report in Databricks.

Here are a few things you can try to troubleshoot the issue:

  1. Make sure that the report is actually returning data by calling the report.render() method. This should return a dictionary containing the report's content.
  2. Check that you have the necessary privileges to access the report from Databricks.
  3. Verify that the group_id and report_id are correct and that the report exists in the Power BI group.
  4. If you are using the displayHTML function to display the report, make sure that the HTML content is properly formatted and includes the necessary JavaScript and CSS files.
  5. Try using a different method to display the report, such as exporting the report as a PDF or an image and then displaying it in Databricks using the display function.

Hopefully, one of these suggestions will help you identify the issue and get your Power BI report to display correctly in Databricks.