Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all,
Is it possible to automatically (using bash or python for example) get schema of data that is used by PowerBI report?
I know pbix files can be unpact and there is a lot of informations about report but I couldn't find names of tables and columns. Am I missing something? Or maybe those informations are not stored there?
Hi @Anonymous,
I'm not so sure what you mean can you please explain more about this?
In addition, you can also take a look at following blog which told about use excel or ssms to connection power bi data model instances, this instance should include all table schema and records which power bi used.
Connect to power bi data model instance
Regards,
Xiaoxin Sheng
Hi @Anonymous,
Sure, so I have a PowerBI report which is getting data from Azure Analysis Service. Both of these are pretty complicated (there is a lot of tables and views in AAS and couple of widgets in report). And because of it I'd like to create some tests for checking compability of report and model. To do that I'd want to somehow get schema of data used in report and just compare it with schema from Model.bim. By schema I mean names of tables and columns within them, maybe also relations but not necessarily.
Br,
Piotr.
HI @Anonymous,
AFAIK, current analysis service support import and live connection mode to get data.
For import mode, it require your to get data to power bi and will break existed your table relationships and data type.
For Live connection mode, it will disable most of edit features include the relationship panel and query editor.
So I think it is hard to achieve your requirement through power bi desktop.
Regards,
Xiaoxin Sheng
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
71 | |
70 | |
43 | |
31 | |
26 |
User | Count |
---|---|
89 | |
49 | |
44 | |
38 | |
37 |