Antares Studio Games Icon_Small.png

The Antares Alien

Power BI   |  Game Development

  • Brent Jones

How to Reduce the Size of Your Power BI File

One great way to reduce the size of your PBIX file is by splitting it up.


Guy in a Cube did a really neat video on things to do before deploying your power bi data set to the service. One tip in particular caught my attention, "Splitting the data model and report into two separate files."



Doing this provides three major benefits:

  1. Allows you to work in two separate environments.

  2. Reduces the file size of your PBIX file.

  3. Removes need to refresh local file (creates a live connection).




How do you split the file?

1) First, publish your dashboard to the service (powerbi.com).

2) Then, make a backup/copy of your PBIX file (just in case something goes wrong).

3) In the Power Query editor, remove all (yes, all) data queries and connections. Click "save and load".

4) Click "Get Data" and select "Power BI Datasets".


5) Select the dashboard that you published in step 1.

6) Done.


Now you will have a "live" connection to the data model that is being hosted in the service. If you have a scheduled refresh set up for the model, your desktop file will automatically reflect any refresh updates (meaning you don't need to click the refresh button on the desktop file).




Publishing

Note that you will not be able to publish any changes to the service with the same name. So you will need to save it as a different name first, then publish.




Can I get the model back?

Yes. Ideally you made a backup/copy of the file before splitting it. However, you can still download the original PBIX file from the service. Navigate to the dataset on powerbi.com and click to the lineage. Select the options ellipsis and choose "download the .pbix".



Support my Indie game!
Steam

Itch.Io

Cover Art - Main_Medium_With_Title_Cropp
  • Facebook
  • Twitter
  • Instagram

Support my Indie game!
Steam

Itch.Io

Cover Art - Main_Large_With_Title.png