title: How do I use Power BI Desktop with version control?
body: <p>Greetings beloved comrades,</p>
  
  <p>I am building a series of power bi dashboards, and as they go into production I'd like to put them into TFS.  However, due to the large datasets involved, some of these report definitions are quite large (1.6GB).</p>
  
  <p>It doesn't seem like a good idea to force TFS to store all of the actual data, when only the definition really matters.</p>
  
  <p>Is there a simple way to remove the data from a .pbix file or save only the definition?</p>
  
  <p>Edit:  Looks like Microsoft has rendered this question obsolete with the creation of PowerBI templates.  <a href="https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-april-update-feature-summary/" rel="noreferrer">April Update for PowerBI</a>
  Nevertheless, the workaround in the answer could be used for other purposes.</p>