This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
Hi,
We are auditing all the DAX queries generated by Power BI and hitting the source SSAS tabular cubes using extended events in SSAS server.
we were seeing few queries taking longer time for a particular data grid visual which had a measure and few attributes from couple of entities. we used a TOP N filter to restrict number of records in the data grid visual.
then we observed the dax query did not contain - IsGrandTotalRowTotal even though the data grid in that specific report had TOTAL row.
But when we tried to capture the same dax query using Power BI Desktop & SQL Server profiler, it did contain the IsGrandTotalRowTotal and DAX query executed very quickly, we executed the captured DAX query in DAX studio.
what would be the reason the DAX query which was captured during logging did not have the IsGrandTotalRowTotal ?
the audited DAX query from extended events(long running query) :
EVALUATE
TOPN (
150002,
SUMMARIZECOLUMNS (
the DAX query captured from SQL profiler( this runs very fast)
EVALUATE
TOPN(
502,
SUMMARIZECOLUMNS(
ROLLUPADDISSUBTOTAL(
ROLLUPGROUP(
Thanks,
Suresh K
Hi Suresh,
Does "ROLLUPADDISSUBTOTAL" in the DAX formula return total? Please refer to dax/summarizecolumns-function-dax.
Best Regards,
Dale
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 21 | |
| 21 | |
| 21 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 56 | |
| 53 | |
| 49 | |
| 26 | |
| 25 |