<?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: calculate the SUM of a mesure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-the-SUM-of-a-mesure/m-p/3061302#M105787</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="446477" data-lia-user-login="achrafkasmi" class="lia-mention lia-mention-user"&gt;achrafkasmi&lt;/a&gt; , Try measure like &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sumx(Summarize(Table, Table[Besoin Pf], Table[Stock MP], Table[Besoin en Rpm]), [Stock MP] -[Besoin en Rpm])&lt;/P&gt;</description>
    <pubDate>Sat, 04 Feb 2023 02:47:04 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2023-02-04T02:47:04Z</dc:date>
    <item>
      <title>calculate the SUM of a mesure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-the-SUM-of-a-mesure/m-p/3060499#M105728</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have a table named "V_QTSDAMA"&amp;nbsp;and I have a column named "ItemName"&amp;nbsp; with a&amp;nbsp;&lt;SPAN&gt;repeating&amp;nbsp;&lt;/SPAN&gt;products&amp;nbsp;with its own stock.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to calculate the sum of " BESOIN PF " for each product. ( to not to have the products repeating themselves)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS :&amp;nbsp;note that the column "BESOIN PF" it's calculated as a Mesure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- i work on a directquery Mode.&lt;/P&gt;&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;For exemple this is result that I want&amp;nbsp; , i made it on excel :&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ACHRAF KASMI&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Feb 2023 14:45:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-the-SUM-of-a-mesure/m-p/3060499#M105728</guid>
      <dc:creator>achrafkasmi</dc:creator>
      <dc:date>2023-02-03T14:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the SUM of a mesure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-the-SUM-of-a-mesure/m-p/3061302#M105787</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="446477" data-lia-user-login="achrafkasmi" class="lia-mention lia-mention-user"&gt;achrafkasmi&lt;/a&gt; , Try measure like &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sumx(Summarize(Table, Table[Besoin Pf], Table[Stock MP], Table[Besoin en Rpm]), [Stock MP] -[Besoin en Rpm])&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2023 02:47:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-the-SUM-of-a-mesure/m-p/3061302#M105787</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2023-02-04T02:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the SUM of a mesure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-the-SUM-of-a-mesure/m-p/3063647#M105985</link>
      <description>&lt;P&gt;&lt;SPAN&gt;hank you for your answer,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the formulate doesn’t work, she didn’t return the sum, she just returned I think the minimum and not the sum.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but with this formulate i'm able to shave the ItemName.&lt;/SPAN&gt;&lt;/P&gt;&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 11:27:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-the-SUM-of-a-mesure/m-p/3063647#M105985</guid>
      <dc:creator>achrafkasmi</dc:creator>
      <dc:date>2023-02-06T11:27:04Z</dc:date>
    </item>
  </channel>
</rss>

