<?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 ( urgent ) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-the-SUM-of-a-mesure-urgent/m-p/3077523#M107051</link>
    <description>&lt;P&gt;hello,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="332147" data-lia-user-login="v-zhangti" class="lia-mention lia-mention-user"&gt;v-zhangti&lt;/a&gt;&amp;nbsp;, thanks for your answer ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the measure " besoin en rpm " is not the same as " besoin PF ".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the need in finished product is in red&amp;nbsp;" besoin PF " that is to say to produce it&amp;nbsp;I need a calculation of the sum of the raw materials&amp;nbsp;" besoin en rpm ".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I’ll show you the result that i want on excel :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;So if I can summarize, we’ll consider the MESURE "BESOIN PF" as a positive values i need to calculate the SUM for each ItemName.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;</description>
    <pubDate>Mon, 13 Feb 2023 10:37:52 GMT</pubDate>
    <dc:creator>achrafkasmi</dc:creator>
    <dc:date>2023-02-13T10:37:52Z</dc:date>
    <item>
      <title>calculate the SUM of a mesure ( urgent )</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-the-SUM-of-a-mesure-urgent/m-p/3073949#M106802</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;&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;P&gt;&amp;nbsp;&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;</description>
      <pubDate>Fri, 10 Feb 2023 08:19:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-the-SUM-of-a-mesure-urgent/m-p/3073949#M106802</guid>
      <dc:creator>achrafkasmi</dc:creator>
      <dc:date>2023-02-10T08:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the SUM of a mesure ( urgent )</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-the-SUM-of-a-mesure-urgent/m-p/3076894#M107012</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can try the following methods&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;BR /&gt;BESOIN PF is a measure.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Besoin on RPM = ABS('Table'[BESOIN PF])&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Besoin Total = SELECTEDVALUE('Table'[StockMP])-[Besoin on RPM]&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;CodeBom 91000915 [Besoin on RPM] Sum is 515, not 396.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Charlotte&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 03:02:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-the-SUM-of-a-mesure-urgent/m-p/3076894#M107012</guid>
      <dc:creator>v-zhangti</dc:creator>
      <dc:date>2023-02-13T03:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the SUM of a mesure ( urgent )</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-the-SUM-of-a-mesure-urgent/m-p/3077523#M107051</link>
      <description>&lt;P&gt;hello,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="332147" data-lia-user-login="v-zhangti" class="lia-mention lia-mention-user"&gt;v-zhangti&lt;/a&gt;&amp;nbsp;, thanks for your answer ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the measure " besoin en rpm " is not the same as " besoin PF ".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the need in finished product is in red&amp;nbsp;" besoin PF " that is to say to produce it&amp;nbsp;I need a calculation of the sum of the raw materials&amp;nbsp;" besoin en rpm ".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I’ll show you the result that i want on excel :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;So if I can summarize, we’ll consider the MESURE "BESOIN PF" as a positive values i need to calculate the SUM for each ItemName.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 10:37:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-the-SUM-of-a-mesure-urgent/m-p/3077523#M107051</guid>
      <dc:creator>achrafkasmi</dc:creator>
      <dc:date>2023-02-13T10:37:52Z</dc:date>
    </item>
  </channel>
</rss>

