Forum Discussion
sergs
3 years agoAdvocate I
Embedding a report with DirectLake dataset.
Hi We're investigating options for migrating our reports to Microsoft Fabric. Everything (data ingest, report etc) works fine until we attempt to embed this report. PowerBiEmbed client GenerateTo...
jasonn
2 years agoFrequent Visitor
I ran into this - what a pain.
Here's how I ended up solving this (workaround)
- Data is in a fabric Lakehouse
- Use PowerBI Desktop to import the data from the lakehouse using the SQL endpoint. (Azure SQL Datasource)
- Publish the Semantic Model to your workspace.
- Build reports off of that Semantic Model - you can set it to refresh from the Lakehouse as needed.
It seems like a pain, but the most reliable way to get embedded reports to render. There was a surprising upside to this approach. Importing the Lakehouse into the Desktop Power BI application and then publishing made managing schema drift wayyyyyy easier. I found that when I had to handle schema drift in the lakehouse itself deleting of the table before republishing just destroyed any schemas I had mapped out. Managing the schema in the desktop app allowed me to delete a table in the lakehouse then refresh the file - and nothing in the schema would get broken. New fields would simply appear (reconcile or be deleted) as you would expect them to.