<?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 Re: summarize to groupby in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarize-to-groupby/m-p/799475#M4799</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No problem, happy to help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;Best Regards,&lt;BR /&gt;Mariusz&lt;BR /&gt;&lt;BR /&gt;Please feel free to connect with me.&lt;BR /&gt;&lt;A href="https://www.linkedin.com/in/mariusz-repczynski-065a7362/" rel="nofollow noopener noreferrer" target="_blank"&gt;&lt;IMG src="https://ip1.i.lithium.com/1232d707bb27fc4afa3b81cd0702c478b6f7aced/68747470733a2f2f7374617469632e6c6963646e2e636f6d2f736364732f636f6d6d6f6e2f752f696d616765732f6c6f676f732f6c696e6b6564696e2f6c6f676f5f6c696e6b6564696e5f39337832315f76322e706e67" border="0" alt="Mariusz Repczynski" /&gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Sep 2019 11:01:02 GMT</pubDate>
    <dc:creator>Mariusz</dc:creator>
    <dc:date>2019-09-23T11:01:02Z</dc:date>
    <item>
      <title>summarize to groupby</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarize-to-groupby/m-p/798327#M4748</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;How can the below DAX use groupby instead of summarize please?&lt;/P&gt;&lt;P&gt;SUMMARIZE (&lt;BR /&gt;'TablePH',&lt;BR /&gt;'TableP'[Field1],&lt;BR /&gt;'TableP'[Field3],&lt;BR /&gt;"CountOfCountries", DISTINCTCOUNT ( 'Table6'[Country] ),&lt;BR /&gt;"Hours", [Time]&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 16:03:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarize-to-groupby/m-p/798327#M4748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-20T16:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: summarize to groupby</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarize-to-groupby/m-p/799364#M4796</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see the below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Measure = 
ADDCOLUMNS( 
    GROUPBY(
        'TablePH',
        'TableP'[Field1],
        'TableP'[Field3],
        "CountOfCountries", COUNTX( CURRENTGROUP(), DISTINCT( 'Table6'[Country] ) )
    ),
    "Hours", [Time]
)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;Best Regards,&lt;BR /&gt;Mariusz&lt;BR /&gt;&lt;BR /&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accepting it as the solution&lt;/I&gt;&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;Please feel free to connect with me.&lt;BR /&gt;&lt;A href="https://www.linkedin.com/in/mariusz-repczynski-065a7362/" rel="nofollow noopener noreferrer" target="_blank"&gt;&lt;IMG src="https://ip1.i.lithium.com/1232d707bb27fc4afa3b81cd0702c478b6f7aced/68747470733a2f2f7374617469632e6c6963646e2e636f6d2f736364732f636f6d6d6f6e2f752f696d616765732f6c6f676f732f6c696e6b6564696e2f6c6f676f5f6c696e6b6564696e5f39337832315f76322e706e67" border="0" alt="Mariusz Repczynski" /&gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 09:15:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarize-to-groupby/m-p/799364#M4796</guid>
      <dc:creator>Mariusz</dc:creator>
      <dc:date>2019-09-23T09:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: summarize to groupby</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarize-to-groupby/m-p/799373#M4797</link>
      <description>&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 09:19:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarize-to-groupby/m-p/799373#M4797</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-23T09:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: summarize to groupby</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarize-to-groupby/m-p/799475#M4799</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No problem, happy to help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;Best Regards,&lt;BR /&gt;Mariusz&lt;BR /&gt;&lt;BR /&gt;Please feel free to connect with me.&lt;BR /&gt;&lt;A href="https://www.linkedin.com/in/mariusz-repczynski-065a7362/" rel="nofollow noopener noreferrer" target="_blank"&gt;&lt;IMG src="https://ip1.i.lithium.com/1232d707bb27fc4afa3b81cd0702c478b6f7aced/68747470733a2f2f7374617469632e6c6963646e2e636f6d2f736364732f636f6d6d6f6e2f752f696d616765732f6c6f676f732f6c696e6b6564696e2f6c6f676f5f6c696e6b6564696e5f39337832315f76322e706e67" border="0" alt="Mariusz Repczynski" /&gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 11:01:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarize-to-groupby/m-p/799475#M4799</guid>
      <dc:creator>Mariusz</dc:creator>
      <dc:date>2019-09-23T11:01:02Z</dc:date>
    </item>
  </channel>
</rss>

