<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic summarizecolumns() and Excel DRE (Detail Row Expression) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarizecolumns-and-Excel-DRE-Detail-Row-Expression/m-p/4093459#M162441</link>
    <description>&lt;P&gt;good day!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why&amp;nbsp;summarizecolumns() works in DAX Studio and doesn't work in Excel with&amp;nbsp;DRE (Detail Row Expression)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;</description>
    <pubDate>Sat, 10 Aug 2024 23:25:01 GMT</pubDate>
    <dc:creator>100tsky71</dc:creator>
    <dc:date>2024-08-10T23:25:01Z</dc:date>
    <item>
      <title>summarizecolumns() and Excel DRE (Detail Row Expression)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarizecolumns-and-Excel-DRE-Detail-Row-Expression/m-p/4093459#M162441</link>
      <description>&lt;P&gt;good day!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why&amp;nbsp;summarizecolumns() works in DAX Studio and doesn't work in Excel with&amp;nbsp;DRE (Detail Row Expression)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 10 Aug 2024 23:25:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarizecolumns-and-Excel-DRE-Detail-Row-Expression/m-p/4093459#M162441</guid>
      <dc:creator>100tsky71</dc:creator>
      <dc:date>2024-08-10T23:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: summarizecolumns() and Excel DRE (Detail Row Expression)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarizecolumns-and-Excel-DRE-Detail-Row-Expression/m-p/4093712#M162451</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="739787" data-lia-user-login="100tsky71" class="lia-mention lia-mention-user"&gt;100tsky71&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;
&lt;P&gt;Could you clarify in what scenario this is not working for you, and provide a PBIX if possible for testing?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Sun, 11 Aug 2024 11:46:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarizecolumns-and-Excel-DRE-Detail-Row-Expression/m-p/4093712#M162451</guid>
      <dc:creator>OwenAuger</dc:creator>
      <dc:date>2024-08-11T11:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: summarizecolumns() and Excel DRE (Detail Row Expression)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarizecolumns-and-Excel-DRE-Detail-Row-Expression/m-p/4094096#M162463</link>
      <description>&lt;P&gt;Owen, good day and thank you!&lt;/P&gt;&lt;P&gt;I'm using Excel with SSAS Tabular and a measure as&lt;SPAN&gt;&amp;nbsp;simple like&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;but from Excel I've got a message&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Aug 2024 23:23:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarizecolumns-and-Excel-DRE-Detail-Row-Expression/m-p/4094096#M162463</guid>
      <dc:creator>100tsky71</dc:creator>
      <dc:date>2024-08-11T23:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: summarizecolumns() and Excel DRE (Detail Row Expression)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarizecolumns-and-Excel-DRE-Detail-Row-Expression/m-p/4094104#M162464</link>
      <description>&lt;P&gt;Thanks for the detail&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="739787" data-lia-user-login="100tsky71" class="lia-mention lia-mention-user"&gt;100tsky71&lt;/a&gt;&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;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 &lt;A href="https://learn.microsoft.com/en-us/dax/summarizecolumns-function-dax#contextual-summarizecolumns" target="_blank" rel="noopener"&gt;here&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the meantime, you should be able to write expression that achieves the same result using functions such as SUMMARIZE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, instead of your current expression, you could write:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SUMMARIZE ( 'Calendar_01', 'Calendar_01'[Year] )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For some examples of more complex Detail Rows Expressions, see here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sqlbi.com/articles/controlling-drillthrough-in-excel-pivottables-connected-to-power-bi-or-analysis-services/" target="_blank" rel="noopener"&gt;https://www.sqlbi.com/articles/controlling-drillthrough-in-excel-pivottables-connected-to-power-bi-or-analysis-services/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Sun, 11 Aug 2024 23:42:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarizecolumns-and-Excel-DRE-Detail-Row-Expression/m-p/4094104#M162464</guid>
      <dc:creator>OwenAuger</dc:creator>
      <dc:date>2024-08-11T23:42:20Z</dc:date>
    </item>
  </channel>
</rss>

