<?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 Sum of data in certain rows in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-data-in-certain-rows/m-p/940494#M10000</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to Power Bi and DAX and hoping someone can help with the following please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a DAX to calculate the sum of stock that has been allocated for sale. In our data set we have columns with "Cost price" and "allocated to" the "allocated to" column contains the customer account numbers so they are all different . I am trying to calculate the sum of the "cost value" if there is data in the "allocated to" column. Is this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice would be appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Thu, 20 Feb 2020 09:49:08 GMT</pubDate>
    <dc:creator>JamesGordon</dc:creator>
    <dc:date>2020-02-20T09:49:08Z</dc:date>
    <item>
      <title>Sum of data in certain rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-data-in-certain-rows/m-p/940494#M10000</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to Power Bi and DAX and hoping someone can help with the following please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a DAX to calculate the sum of stock that has been allocated for sale. In our data set we have columns with "Cost price" and "allocated to" the "allocated to" column contains the customer account numbers so they are all different . I am trying to calculate the sum of the "cost value" if there is data in the "allocated to" column. Is this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice would be appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 09:49:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-data-in-certain-rows/m-p/940494#M10000</guid>
      <dc:creator>JamesGordon</dc:creator>
      <dc:date>2020-02-20T09:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of data in certain rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-data-in-certain-rows/m-p/940512#M10001</link>
      <description>&lt;P&gt;please share some sample data and expected output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pravin&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 10:06:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-data-in-certain-rows/m-p/940512#M10001</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-20T10:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of data in certain rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-data-in-certain-rows/m-p/940558#M10008</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached an illustration that will hopefully make it clearer - let me know if more detail is required.&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 10:36:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-data-in-certain-rows/m-p/940558#M10008</guid>
      <dc:creator>JamesGordon</dc:creator>
      <dc:date>2020-02-20T10:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of data in certain rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-data-in-certain-rows/m-p/940569#M10009</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="208944" data-lia-user-login="JamesGordon" class="lia-mention lia-mention-user"&gt;JamesGordon&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Total allocated cost=Calculate(Sum(table[Cost]),filter(table,table[Allocated to] &amp;lt;&amp;gt; blank()))&lt;/P&gt;&lt;P&gt;Total UNallocated cost=Calculate(Sum(table[Cost]),filter(table,table[Allocated to] = blank()))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;BR /&gt;Pravin Wattamwar&lt;BR /&gt;&lt;A href="http://www.linkedin.com/in/pravin-p-wattamwar" target="_blank"&gt;www.linkedin.com/in/pravin-p-wattamwar&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If I resolve your problem Mark it as a solution and give kudos.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 10:41:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-data-in-certain-rows/m-p/940569#M10009</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-20T10:41:16Z</dc:date>
    </item>
  </channel>
</rss>

