Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
grangema
Frequent Visitor

Report hitting DQ instead of aggregated table only when cache is cleared and re-opening the report

Hello,

 

I created a report using Direct Query and Agregation tables. 

My data sources are BigQuery views.

Everything is working as expected : 

Data at the lowest level is hitting the Direct Query table

Data at a higher grain is hitting the aggregated tables.

 

On the main page, I only have information using one of my aggragated table.

 

But I noticed that if :

 

  • I clear the cache :

 

Clear Cache.PNG

  • Close the report
  • Open the report
  • Use the performance analyzer
  • Then the first thing my report is doing is sending direct queries to the source

 

Sending DQ.PNG

 

  • When the report is finally ready and my visuals correctly displayed, the direct query part is visible only in one of them :

 

Afterload1.PNGAfterload2.PNG

 

  • And if I now filter on a visual, then it's super fast and correctly using my aggregated table :

filtering.PNG

 

I only have this issue when clearing the cache and opening the report again, or when I publish the report on the service.

 

I don't know what to think about that. Is this the normal behavior for DQ ? Maybe it's sending a first request to the source to prepare the metadata ?

 

Thank you for your help,

1 ACCEPTED SOLUTION
daxer-almighty
Solution Sage
Solution Sage

An aggregated table has to be created in memory from data that's gathered from the main system. Because most likely Microsoft thinks the aggregated data should be in sync with the lowest level data, PBI re-creates the aggregation in memory every time you clear the cache or open the file. I guess this is what happens. As long as your aggregations work after a refresh (which I think clearing cache or opening the file is) it's OK.

View solution in original post

1 REPLY 1
daxer-almighty
Solution Sage
Solution Sage

An aggregated table has to be created in memory from data that's gathered from the main system. Because most likely Microsoft thinks the aggregated data should be in sync with the lowest level data, PBI re-creates the aggregation in memory every time you clear the cache or open the file. I guess this is what happens. As long as your aggregations work after a refresh (which I think clearing cache or opening the file is) it's OK.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors