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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

pbix as code

I have recently started using PowerBI as an embedded analytics tool for my company. I really like M and DAX - both are very powerful and tie together concepts from SQL and functional programming. Ultimately it seems like when I use PowerBI desktop, what is essentially made is a zip file containing metadata and data.

 

I am a developer, so as much as pointing and clicking is great for learning the concepts, I ultimately would love to just have a project with .m and .dax files (and whatever other metadata is necessary) that I can check into git, etc. Maintaining pbix files is a bit of a nightmare, and also behaves unlike any other code in our system.

 

Even one step further, being able to programmatically generate and synchronize data sets with the PowerBI api would really bring our integration to the next level.

 

Has anyone attempted to do this, or knows if this is even possible?

1 REPLY 1
PhilipTreacy
Super User
Super User

Hi @Anonymous 

I've never tried it.  This article may give you some pointers on the structure of the PBIX files

https://bengribaudo.com/blog/2020/04/22/5198/data-mashup-binary-stream

Phil


If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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