<?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 Summarize by three columns in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-by-three-columns/m-p/1911826#M41323</link>
    <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;USER&amp;nbsp; |&amp;nbsp; YEAR&amp;nbsp; |&amp;nbsp;&amp;nbsp;REGION&amp;nbsp; |&amp;nbsp; RISK&amp;nbsp; |&amp;nbsp; VALUE&lt;/P&gt;&lt;P&gt;A&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; EUROPE&amp;nbsp; |&amp;nbsp; A&amp;nbsp; |&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;B&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; EUROPE&amp;nbsp; |&amp;nbsp; A&amp;nbsp; |&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;C&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; EUROPE&amp;nbsp; |&amp;nbsp; A&amp;nbsp; |&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;A&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; CHINA&amp;nbsp; |&amp;nbsp; A&amp;nbsp; |&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;B&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; CHINA&amp;nbsp; |&amp;nbsp; A&amp;nbsp; |&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;C&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; CHINA&amp;nbsp; |&amp;nbsp; A&amp;nbsp; |&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;A&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; EUROPE&amp;nbsp; |&amp;nbsp; B&amp;nbsp; |&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;B&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; EUROPE&amp;nbsp; |&amp;nbsp; B&amp;nbsp; |&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;C&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; EUROPE&amp;nbsp; |&amp;nbsp; B&amp;nbsp; |&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;A&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; CHINA&amp;nbsp; |&amp;nbsp; B&amp;nbsp; |&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;B&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; CHINA&amp;nbsp; |&amp;nbsp; B&amp;nbsp; |&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;C&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; CHINA&amp;nbsp; |&amp;nbsp; B&amp;nbsp; |&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I would like to get the average of the values by Year, Region and Risk in a calculated table. The result should be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;YEAR&amp;nbsp; |&amp;nbsp;&amp;nbsp;REGION&amp;nbsp; |&amp;nbsp; RISK&amp;nbsp; |&amp;nbsp; AVERAGE&lt;/P&gt;&lt;P&gt;2019&amp;nbsp; |&amp;nbsp; EUROPE&amp;nbsp; |&amp;nbsp; A&amp;nbsp; |&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;2019&amp;nbsp; |&amp;nbsp; EUROPE&amp;nbsp; |&amp;nbsp; B&amp;nbsp; |&amp;nbsp; 2,66&lt;/P&gt;&lt;P&gt;2019&amp;nbsp; |&amp;nbsp; CHINA&amp;nbsp; |&amp;nbsp; A&amp;nbsp; |&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;2019&amp;nbsp; &amp;nbsp;|&amp;nbsp; CHINA&amp;nbsp; |&amp;nbsp; B&amp;nbsp; |&amp;nbsp; 2,66&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jun 2021 09:36:06 GMT</pubDate>
    <dc:creator>mizaskun</dc:creator>
    <dc:date>2021-06-21T09:36:06Z</dc:date>
    <item>
      <title>Summarize by three columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-by-three-columns/m-p/1911826#M41323</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;USER&amp;nbsp; |&amp;nbsp; YEAR&amp;nbsp; |&amp;nbsp;&amp;nbsp;REGION&amp;nbsp; |&amp;nbsp; RISK&amp;nbsp; |&amp;nbsp; VALUE&lt;/P&gt;&lt;P&gt;A&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; EUROPE&amp;nbsp; |&amp;nbsp; A&amp;nbsp; |&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;B&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; EUROPE&amp;nbsp; |&amp;nbsp; A&amp;nbsp; |&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;C&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; EUROPE&amp;nbsp; |&amp;nbsp; A&amp;nbsp; |&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;A&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; CHINA&amp;nbsp; |&amp;nbsp; A&amp;nbsp; |&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;B&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; CHINA&amp;nbsp; |&amp;nbsp; A&amp;nbsp; |&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;C&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; CHINA&amp;nbsp; |&amp;nbsp; A&amp;nbsp; |&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;A&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; EUROPE&amp;nbsp; |&amp;nbsp; B&amp;nbsp; |&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;B&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; EUROPE&amp;nbsp; |&amp;nbsp; B&amp;nbsp; |&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;C&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; EUROPE&amp;nbsp; |&amp;nbsp; B&amp;nbsp; |&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;A&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; CHINA&amp;nbsp; |&amp;nbsp; B&amp;nbsp; |&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;B&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; CHINA&amp;nbsp; |&amp;nbsp; B&amp;nbsp; |&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;C&amp;nbsp; |&amp;nbsp; 2019&amp;nbsp; |&amp;nbsp; CHINA&amp;nbsp; |&amp;nbsp; B&amp;nbsp; |&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I would like to get the average of the values by Year, Region and Risk in a calculated table. The result should be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;YEAR&amp;nbsp; |&amp;nbsp;&amp;nbsp;REGION&amp;nbsp; |&amp;nbsp; RISK&amp;nbsp; |&amp;nbsp; AVERAGE&lt;/P&gt;&lt;P&gt;2019&amp;nbsp; |&amp;nbsp; EUROPE&amp;nbsp; |&amp;nbsp; A&amp;nbsp; |&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;2019&amp;nbsp; |&amp;nbsp; EUROPE&amp;nbsp; |&amp;nbsp; B&amp;nbsp; |&amp;nbsp; 2,66&lt;/P&gt;&lt;P&gt;2019&amp;nbsp; |&amp;nbsp; CHINA&amp;nbsp; |&amp;nbsp; A&amp;nbsp; |&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;2019&amp;nbsp; &amp;nbsp;|&amp;nbsp; CHINA&amp;nbsp; |&amp;nbsp; B&amp;nbsp; |&amp;nbsp; 2,66&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 09:36:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-by-three-columns/m-p/1911826#M41323</guid>
      <dc:creator>mizaskun</dc:creator>
      <dc:date>2021-06-21T09:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Summarize by three columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-by-three-columns/m-p/1912029#M41332</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="299045" data-lia-user-login="mizaskun" class="lia-mention lia-mention-user"&gt;mizaskun&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Place YEAR, REGION and RISK in a table visual. Make sure theya re all set to "Don't summarize"&lt;/P&gt;
&lt;P&gt;2. Place Value in the viusla and select average. Alternatively, you can create an explicit measure and add it to the table visual:&lt;/P&gt;
&lt;P&gt;Average_M =&lt;/P&gt;
&lt;P&gt;AVERAGE (Table1[Value])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="height: 100px; width: 100%; border-collapse: collapse; border-style: groove; border-color: #0c1c49; background-color: #00675f;" border="0" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15px;"&gt;
&lt;TD width="15.961305925030231%" style="width: 92px; height: 15px;"&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84.03869407496977%" style="width: 485px; height: 15px; text-align: left;"&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Please accept the solution when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4.5" color="#FF99CC"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 10:34:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-by-three-columns/m-p/1912029#M41332</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2021-06-21T10:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Summarize by three columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-by-three-columns/m-p/1912040#M41334</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/w38enf8sb5ysogt/mizaskun.pbix?dl=0" target="_self"&gt;https://www.dropbox.com/s/w38enf8sb5ysogt/mizaskun.pbix?dl=0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 10:39:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-by-three-columns/m-p/1912040#M41334</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-06-21T10:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Summarize by three columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-by-three-columns/m-p/1912062#M41336</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I need to create a new table, not in a measure. That is the point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 10:56:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-by-three-columns/m-p/1912062#M41336</guid>
      <dc:creator>mizaskun</dc:creator>
      <dc:date>2021-06-21T10:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Summarize by three columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-by-three-columns/m-p/1912252#M41341</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="299045" data-lia-user-login="mizaskun" class="lia-mention lia-mention-user"&gt;mizaskun&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Probably best to do this in PQ. If you want it in DAX:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;NewTable =
ADDCOLUMNS (
    SUMMARIZE ( Table1, Table1[YEAR], Table1[REGION], Table1[RISK] ),
    "@Average", CALCULATE ( AVERAGE ( Table1[Value] ) )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="height: 100px; width: 100%; border-collapse: collapse; border-style: groove; border-color: #0c1c49; background-color: #00675f;" border="0" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15px;"&gt;
&lt;TD width="15.961305925030231%" style="width: 92px; height: 15px;"&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84.03869407496977%" style="width: 485px; height: 15px; text-align: left;"&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Please accept the solution when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4.5" color="#FF99CC"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 12:34:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-by-three-columns/m-p/1912252#M41341</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2021-06-21T12:34:27Z</dc:date>
    </item>
  </channel>
</rss>

