Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

How to Not Save Dataset in PBIX File?

I'm currently working on a PBI report which recently started pushing the 100MB size limit imposed by our source control solution. This is mostly one huge table (already trimmed down to the minimal timeframe) which I don't expect to get orders of magnitude larger but won't comfortably fit under that limit any time soon.

 

I'm wondering if there's a way to save my PBIX file so that it keeps all of the queries currently used, but doesn't store all the actual data inside the file? e.g. in the manner of how, when you recover a recently autosaved version of a file, it doesn't have any data, and you have to click Refresh to download it all again.

 

I would love to be able to save and publish my report like this, and then have the auto-refresh gateway send all the data through after publishing.

  • Hi Anonymous,

    Whether you're using DirectQuery or Import, you can save the workbook as a report template. This will save the file with all connection info, but no data. When the file is opened, it will need to load in the data before you can work with it but is a great compromise if you're using source control to store the file.

    Regards,

    Daniel


    If my post helps, then please consider accepting as a solution to help other forum members find the answer more quickly 🙂

4 Replies

  • dm-p's avatar
    dm-p
    Super User

    Hi Anonymous,

    Whether you're using DirectQuery or Import, you can save the workbook as a report template. This will save the file with all connection info, but no data. When the file is opened, it will need to load in the data before you can work with it but is a great compromise if you're using source control to store the file.

    Regards,

    Daniel


    If my post helps, then please consider accepting as a solution to help other forum members find the answer more quickly 🙂

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thank you!! The other responses' suggestion of incremental refresh seemed to be relevant but templates are exactly the solution I was describing in my post.

  • Gelgarico's avatar
    Gelgarico
    Regular Visitor

    Hi Anonymous ,

     

    Power BI have two option to connect your data. 

    1. Import Mode

    2. Direct Query or Live Connection

     

    In your case, power bi used import mode type to read/import your data from your source.  try to use incremental refresh to add new data instead load entire data from your source.

     

    or, I recommend to use direct query / live connection but there's a certain limitation interms of connecting to the source.

     

    Thank you. 

     

  • V-lianl-msft's avatar
    V-lianl-msft
    Community Support
    Hi Anonymous ,
     
    If you are a Power BI Premium user, you can solve this problem through incremental refresh.
    You can also save data to a database that supports DQ connection mode, and then use DQ connection mode to connect data. SSAS is also one of your options
     
    Best Regards,
    Liang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.