Forum Discussion
jch
4 years agoMicrosoft Employee
read DataModelSchema.json into Python
I downloaded a .pbix file and remamed it to .pbit so I could extract DataModelSchema.json. Has anyone else had luck reading this .json into a python pandas dataframe? In this example, I changed t...
Anonymous
4 years agoNot applicable
HI jch,
The 'DataModelSchema' file should be stored in the pbix file but you cannot directly extract it from pbix file. For this scenario, you can try to import some libraries about compression to analyze the file (pbix file can be recognized with compression software), then you can looping from the recognize folder/path to find out the corresponding contents. (notice: these operations may not directly execute in power bi desktop when you open the report, they may face the read/write protected/permission issues)
Regards,
Xiaoxin Sheng
Anonymous
2 years agoNot applicable
I know this topic is very old and outdated, but I just put the answer out there : this file is encoded in utf-16le