Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All,
I used Python code to retrieve data from Fabric Lakehouse, but it was considering import mode. I wanted the data in direct query mode, and I also wanted the code to automatically create relationships by reading the table names, key columns, and relation type in Excel. Would you kindly assist me with this?
Thank you in advance.
Hi @Shrujan1612 ,
If you want to retrieve the data from the lakehouse and have all the relationships etc you should use a semantic model on top of your lakehouse tables.
You can acess the semantic model on the Data tab of excel.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThe Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 145 | |
| 125 | |
| 107 | |
| 79 | |
| 54 |