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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
asocorro
Skilled Sharer
Skilled Sharer

How to tell if an aggregation is hit?

The documentation here:

 

http://tinyurl.com/ybxnw8a7

 

says to use the SQL Server Profiler event "Query Processing\Aggregate Table Rewrite Query", but I don't see it.  Do I need to do anything special to make it appear?  Thanks.

Connect with me in LinkedIn: https://pr.linkedin.com/in/adolfosocorro
Follow me on Twitter: https://twitter.com/AdolfoSocorro
1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @asocorro,

 

The document does not show the details steps how to find out whether a query hit an aggregation or not.

 

By my research, this article will be more helpful which includes more details steps.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
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

4 REPLIES 4
kadirkkkk
Frequent Visitor

You can copy the dax code via "Performance Analyzer" in Power in then paste it to DaxStudio and run. You'll see which order and which tables does the query runs.

 

Anonymous
Not applicable

In Performance Analyzer, look for your Matrix.  If you don't see DirectQuery, then it's using an in-memory table.  Assuming your Aggregate tables is an aggregate of a DirectQuery table, this will be you indicator that it used the in memory aggregate.

v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @asocorro,

 

The document does not show the details steps how to find out whether a query hit an aggregation or not.

 

By my research, this article will be more helpful which includes more details steps.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks, that was a great step-by-step.  My question was answered by this note in the article:

 

Please note that if your SSMS version is older than v 17.9, you will not see “Aggregate Table Rewrite Query” event in event selection area.

 

Cheers,

Adolfo

Connect with me in LinkedIn: https://pr.linkedin.com/in/adolfosocorro
Follow me on Twitter: https://twitter.com/AdolfoSocorro

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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