Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

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

  • v-easonf-msft's avatar
    v-easonf-msft
    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.

     

    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's avatar
      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

      • sheetalshettiga's avatar
        sheetalshettiga
        Helper IV

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