Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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êsThis is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
77 | |
74 | |
57 | |
38 | |
33 |
User | Count |
---|---|
70 | |
63 | |
55 | |
48 | |
46 |