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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Direct Query DAX Table Refresh

Hi,

 

I am having a problem with a Direct Query report i have authored and published to powerbi service.

 

I have two measures in the report:

  • Measure 1 - Count() of items in MS SQL table directly
  • Measure 2 - Calulcate(Count(),filter) of items in a DAX table withing the report that is made using SummarizeColumns() to summarize the MS SQL table  

When I add new items to the MS SQL table this is the behavior i get:

  • PowerBI desktop - Both Measures update flawlessly upon pressing refresh button
  • PowerBI Service - When i refresh the browser, Meaure 1 updates, but Measure 2 does not. If i go in and manually refresh the dataset from the service or wait for the next sechduled refresh, Measure 2 will update as well.

 

It is acting as if the DAX table does not refresh until the dataset is refreshed. Why is this?

 

With Direct Querry shouldnt everything in the report, DAX calulations and tables inlcuded, refresh everytime the report/browser is refreshed?

 

Why is there even an option to refresh the dataset? Shouldn't the dataset be refreshed everytime the broswer/report is refreshed? Isnt that the point of Direct Query?

 

Please help me with my igonorance!

 -Alex

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

For DirectQuery mode, there is no any data included in the dataset on Power BI service, but a direct connection between Power BI and the database. When you interact with a visualization, queries are sent from Power BI directly to the database, and query results will be updated on the visualization.

 

To enhance the performance, dashboard tiles are cached and periodically refreshed. When a cache refresh happens, queries will be resent from Power BI directly to the database again for all visualizations/tiles, and query results will be updated on all the visualizations.

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

For DirectQuery mode, there is no any data included in the dataset on Power BI service, but a direct connection between Power BI and the database. When you interact with a visualization, queries are sent from Power BI directly to the database, and query results will be updated on the visualization.

 

To enhance the performance, dashboard tiles are cached and periodically refreshed. When a cache refresh happens, queries will be resent from Power BI directly to the database again for all visualizations/tiles, and query results will be updated on all the visualizations.

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

nickyvv
Most Valuable Professional
Most Valuable Professional

Could you first clarify if you mean Scheduled Refresh (for Import) or Cache Refresh (for DirectQuery)?

Because if you have Scheduled Refresh available then I assume you are using Import somewhere in your model.

In addition to that, can you share the measures you are using? Or even better, the pbix if there's no private data in it?



Did I answer your question? Mark my post as a solution!

Blog: nickyvv.com | @NickyvV


Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.