<?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: Total (sum) of a measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-sum-of-a-measure/m-p/2750391#M84841</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;FY19-20 x Qté composants (UQB) =
SUMX (
    CROSSJOIN ( VALUES ( TableName[P/N] ), VALUES ( TableName[Designation] ) ),
    CALCULATE (
        SUM ( 'Fichier Acheteur'[FY19-20] ) * SUM ( 'Mapping'[Qté composants (UQB)] )
    )
)&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 06 Sep 2022 13:21:10 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-09-06T13:21:10Z</dc:date>
    <item>
      <title>Total (sum) of a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-sum-of-a-measure/m-p/2750370#M84838</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need help to change the total of these measures.&lt;/P&gt;&lt;P&gt;To explain I already done a measure that multiply a price by a quantity,&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FY19-20 x Qté composants (UQB) = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUM('Fichier Acheteur'[FY19-20]) * SUM('Mapping'[Qté composants (UQB)])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;the probleme is that the total multiply the final price by the quantity too, I just a need a sum of the column in the total.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 13:11:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-sum-of-a-measure/m-p/2750370#M84838</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-06T13:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Total (sum) of a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-sum-of-a-measure/m-p/2750389#M84840</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , This needs to be done at some common level &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;example&lt;/P&gt;
&lt;P&gt;sumx(summarize(CommonDim, CommonDim[P/N], CommonDim[Designation] , "_1", calculate(SUM('Fichier Acheteur'[FY19-20]) * SUM('Mapping'[Qté composants (UQB)])) ) , [_1])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 13:20:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-sum-of-a-measure/m-p/2750389#M84840</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-09-06T13:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Total (sum) of a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-sum-of-a-measure/m-p/2750391#M84841</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;FY19-20 x Qté composants (UQB) =
SUMX (
    CROSSJOIN ( VALUES ( TableName[P/N] ), VALUES ( TableName[Designation] ) ),
    CALCULATE (
        SUM ( 'Fichier Acheteur'[FY19-20] ) * SUM ( 'Mapping'[Qté composants (UQB)] )
    )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 06 Sep 2022 13:21:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-sum-of-a-measure/m-p/2750391#M84841</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-06T13:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Total (sum) of a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-sum-of-a-measure/m-p/2750409#M84845</link>
      <description>&lt;P&gt;As I see it seems working !! Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 13:25:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-sum-of-a-measure/m-p/2750409#M84845</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-06T13:25:53Z</dc:date>
    </item>
  </channel>
</rss>

