Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Getting data schema from pbix file

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?

3 REPLIES 3
Anonymous
Not applicable

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

Anonymous
Not applicable

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.

Anonymous
Not applicable

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

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.