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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
100tsky71
Frequent Visitor

summarizecolumns() and Excel DRE (Detail Row Expression)

good day!

 

Why summarizecolumns() works in DAX Studio and doesn't work in Excel with DRE (Detail Row Expression)?

 

thank you!

1 ACCEPTED SOLUTION

Thanks for the detail @100tsky71  🙂

If you are using SSAS Tabular, I believe "contextual SUMMARIZECOLUMNS" is not yet supported, since it was only fully enabled in products released from June 2024 (see here).

 

I believe it would work with Azure Analysis Services and Power BI, but for SSAS Tabular you would have to wait for a future update.

 

In the meantime, you should be able to write expression that achieves the same result using functions such as SUMMARIZE.

 

For example, instead of your current expression, you could write:

 

SUMMARIZE ( 'Calendar_01', 'Calendar_01'[Year] )

 

For some examples of more complex Detail Rows Expressions, see here:

https://www.sqlbi.com/articles/controlling-drillthrough-in-excel-pivottables-connected-to-power-bi-o...

 

Regards


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

View solution in original post

3 REPLIES 3
100tsky71
Frequent Visitor

Owen, good day and thank you!

I'm using Excel with SSAS Tabular and a measure as simple like 

dre.png

but from Excel I've got a message

dre message.png

Thanks for the detail @100tsky71  🙂

If you are using SSAS Tabular, I believe "contextual SUMMARIZECOLUMNS" is not yet supported, since it was only fully enabled in products released from June 2024 (see here).

 

I believe it would work with Azure Analysis Services and Power BI, but for SSAS Tabular you would have to wait for a future update.

 

In the meantime, you should be able to write expression that achieves the same result using functions such as SUMMARIZE.

 

For example, instead of your current expression, you could write:

 

SUMMARIZE ( 'Calendar_01', 'Calendar_01'[Year] )

 

For some examples of more complex Detail Rows Expressions, see here:

https://www.sqlbi.com/articles/controlling-drillthrough-in-excel-pivottables-connected-to-power-bi-o...

 

Regards


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn
OwenAuger
Super User
Super User

Hello @100tsky71 !

Could you clarify in what scenario this is not working for you, and provide a PBIX if possible for testing?

 

I tested connecting Excel to a Power BI model with a Detail Rows Expression defined using SUMMARIZECOLUMNS, and it appeared to work as expected when drilling through from a PivotTable.

 

Regards


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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