Forum Discussion
PBI Memory Consumption and Refresh Problem.
- 2 years ago
Hi shah007 ,
When you use DirectQuery mode, Power BI doesn't store the actual data in the PBIX file. Instead, it queries the data directly from the SQL database each time you interact with a visual. Here’s how it helps:
Reduced File Size: Since the data isn’t being imported into the PBIX file, the file size can be significantly reduced. The PBIX file will primarily contain the metadata, visualizations, and query definitions, which are typically much smaller in size.
Real-Time Data: DirectQuery ensures that you are always working with the most current data since each interaction fetches the latest data from your SQL database.
Article link: https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-use-directquery
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!
- Anonymous2 years ago
Hi shah007
You can reduce refresh time by using incremental refresh. With incremental refresh, the service dynamically partitions and separates data that requires frequent refreshes from data that can be refreshed less frequently, which can significantly reduce the amount of data that must be refreshed.
For more details, you can read related document link:
Incremental refresh for semantic models and real-time data in Power BI - Power BI | Microsoft Learn
Best Regards,
Yulia XuIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anmol
Can you explain how will this solve my problem like the file size has crossed 400mb. How will it be reduced to 100 or lesser mb by doing this?
Hi shah007 ,
When you use DirectQuery mode, Power BI doesn't store the actual data in the PBIX file. Instead, it queries the data directly from the SQL database each time you interact with a visual. Here’s how it helps:
Reduced File Size: Since the data isn’t being imported into the PBIX file, the file size can be significantly reduced. The PBIX file will primarily contain the metadata, visualizations, and query definitions, which are typically much smaller in size.
Real-Time Data: DirectQuery ensures that you are always working with the most current data since each interaction fetches the latest data from your SQL database.
Article link: https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-use-directquery
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!