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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

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

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.