<?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: use groupby/ summarize in sumx measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/use-groupby-summarize-in-sumx-measure/m-p/780089#M4089</link>
    <description>First piece of advice is this:&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Second piece of advice is this:&lt;BR /&gt;Do not use GRUPBY. Use the combination of ADDCOLUMNS/SUMMARIZE.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D.&lt;BR /&gt;</description>
    <pubDate>Fri, 30 Aug 2019 09:16:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-08-30T09:16:40Z</dc:date>
    <item>
      <title>use groupby/ summarize in sumx measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/use-groupby-summarize-in-sumx-measure/m-p/779898#M4087</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;BR /&gt;I'm new in Power BI, so I need help to write dax measure :)&lt;BR /&gt;I have table Disconnections (with a lot of disconnections (Disc_ID), there are a lot of disconnected customers (OBJ_ID), they appear several times in one disconnection, and customers (Disc_Power). From this table, I need to find the Disc_Power value for each customer (OBJ_ID) in each disconnection (Disc_ID) and then divide it by total all my customers Power, which is in another dimension table Object (Customers (OBJ_ID) and theirs (Power).)&lt;/P&gt;&lt;P&gt;These two tables are connected with OBJ_ID key.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Nepl_ASIFI_ALL = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DIVIDE(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;sumx(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;GROUPBY(Disconnections ;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Disconnections [Disc_ID];&lt;BR /&gt;Disconnections [OBJ_ID];&lt;BR /&gt;"OBJ_Power"&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Disconnections [Disc_Power]);&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;sumx(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER('Object';&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Object '[valid till]=BLANK());&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Object'[Power]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;So there is a mistake with bolded part, could anyone help me by fixing it? :)&lt;/P&gt;&lt;P&gt;Thanks in advance, Vilma&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 06:37:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/use-groupby-summarize-in-sumx-measure/m-p/779898#M4087</guid>
      <dc:creator>VilmaBeina</dc:creator>
      <dc:date>2019-08-30T06:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: use groupby/ summarize in sumx measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/use-groupby-summarize-in-sumx-measure/m-p/780089#M4089</link>
      <description>First piece of advice is this:&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Second piece of advice is this:&lt;BR /&gt;Do not use GRUPBY. Use the combination of ADDCOLUMNS/SUMMARIZE.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D.&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Aug 2019 09:16:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/use-groupby-summarize-in-sumx-measure/m-p/780089#M4089</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-30T09:16:40Z</dc:date>
    </item>
  </channel>
</rss>

