Reputation: 48402
Recent versions of Power BI Desktop have included a preview feature to "Store datasets using enhanced metadata format" which stores the model metadata in a JSON format. However, since the PBIX file is in a proprietary Zip format, you just can't open it and peek inside.
Is it possible to somehow extract this JSON model metadata from a PBIX and save it as a JSON file?
Upvotes: 3
Views: 5795
Reputation: 40204
You can change the extension on a PBIX file to .zip and peek inside like a normal zip folder.
It looks something like this:
Most of these files can then be opened with a text editor.
Upvotes: 4
Reputation: 3741
Do you Try to open Your PowerBI model in TabularEditor and save it to file?
https://github.com/otykier/TabularEditor/wiki/Power-BI-Desktop-Integration
Then we have everything in a json format
Upvotes: 2