Forum Discussion

NehaGoel_2203's avatar
NehaGoel_2203
Frequent Visitor
7 months ago
Solved

Reduce PBIX file size

Hi Team,

 

The data has been taken from SQL Server, and my two PBIX file size is (2591219KB,1962302KB) very large. I would like to know how to reduce the file size. I have already removed unused columns. And on the power bi service the Schedule refresh is not working.

 

Regrads In Advance Fabric Community Team

 

  • Another option is to use Direct Query instead of Import. This way the data is stored in the SQL database, not in the cloud.

18 Replies

    • NehaGoel_2203's avatar
      NehaGoel_2203
      Frequent Visitor

      tayloramy thankyou for the help sir. That is a university data and all rows data are important. It can't help to reduce data size

      • tayloramy's avatar
        tayloramy
        Super User

        Hi NehaGoel_2203

         

        If there is no way to reduce the dataset size, then the last option is to upgrade your capacity. 

         

         

  • 1) Reduce rows (this has the biggest impact)

    Column removal helps, but row count matters much more.

    Do this in SQL, not in Power BI:

    • Filter by date (e.g. last 2–3 years instead of full history)

    • Aggregate in SQL if you don’t need transaction-level detail

    • Avoid SELECT *

     

    2) Check cardinality killers

    Certain columns explode memory usage even if they look harmless:

    • Replace text keys with integer surrogate keys

    • Split datetime into Date (keep) and Time (remove if not needed)

    • Move long text columns to a detail table or remove them entirely

     

    3) Disable Auto Date/Time

    Auto Date/Time silently creates hidden date tables per column, increasing size.

    Power BI Desktop → Options → Data Load

    • Uncheck Auto Date/Time

    Then refresh and save again.

     

    4) Remove unused tables, measures, and visuals

    Often overlooked:

    • Unused tables still consume memory

    • Hidden columns still consume memory

    • Complex visuals don’t affect PBIX size much, but calculated columns do

    • Replace calculated columns with measures

     

  • Another option is to use Direct Query instead of Import. This way the data is stored in the SQL database, not in the cloud.

    • NehaGoel_2203's avatar
      NehaGoel_2203
      Frequent Visitor

      This data also contains blob photos, which I've converted to base64, and that's only possible with import, not direct query. Please suggest reducing the data size.

      • Tutu_in_YYC's avatar
        Tutu_in_YYC
        Super User

        composite mode, ie photos in import mode, data in direct query mode