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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

DataModelSchema in PBIX file

Hi,

as long as there is no way to automate the process of converting PBIX file to PBIT file(PowerBI template), I would like to ask if there is a way to access DataModelSchema in PBIX file. There are very useful informations about measures and calculated columns but I didn't find any other way how to access it in PBIX file without using DAXStudio or other external programs.

 

Thanks for help

Martin

4 REPLIES 4
v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

 

You can try to  change you  file suffix from “.pbix” / “. pbit” to  “.zip”, unzip it, and then use notepad to view the file  ” DataModel” / “DataModelSchema”.

Here you will find  useful information about measures and calculated columns.

1.png

 

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:

Url: https://www.biinsight.com/connect-to-power-bi-desktop-model-from-excel-and-ssms/

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi @v-easonf-msft ,

thanks for the answer.

The problem is, that Datamodel in the .pbix file is compressed and it can't be opened in notepad. DataModelSchema in .pbit file is readable, but there is no way to automate the process of exporting pbix file to pbit file so i am stuck.

Is there a way to somehow access the information about measures in Datamodel in .pbix file?

 

Thanks again

Martin

Hye @Anonymous did you find any solutions.?Even i am looking for the same.

Anonymous
Not applicable

Hi @sheetalshettiga , i am afraid i did not. And i have been trying to find one for more than half a year.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.