<?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: Altering total to sum instead of if statement - DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Altering-total-to-sum-instead-of-if-statement-DAX/m-p/2365277#M60535</link>
    <description>&lt;P&gt;Z=&lt;BR /&gt;SUMX (&lt;/P&gt;&lt;P&gt;VALUES ( your slicing by column ), CALCULATE ( IF ( [X] &amp;gt; 0.5, [Y], 0 ) )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;</description>
    <pubDate>Mon, 28 Feb 2022 17:37:39 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-02-28T17:37:39Z</dc:date>
    <item>
      <title>Altering total to sum instead of if statement - DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Altering-total-to-sum-instead-of-if-statement-DAX/m-p/2365237#M60532</link>
      <description>&lt;P&gt;x, y and z are measures.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Z = if (x &amp;gt; 50%, y, 0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of the IF statement being applied to the total, I want to sum column Z.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Any advice on where to start?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 17:17:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Altering-total-to-sum-instead-of-if-statement-DAX/m-p/2365237#M60532</guid>
      <dc:creator>h4n1234</dc:creator>
      <dc:date>2022-02-28T17:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Altering total to sum instead of if statement - DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Altering-total-to-sum-instead-of-if-statement-DAX/m-p/2365261#M60533</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;&lt;EM&gt;Expected result: = &lt;/EM&gt;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;VAR newtable =&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;ADDCOLUMNS (&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;VALUES ( Data[Index] ),&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;"@result", CALCULATE ( IF ( [X measure:] &amp;gt; 0.5, [Y measure:], 0 ) )&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt; )&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;RETURN&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;SUMX ( newtable, [@result] )&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 28 Feb 2022 17:28:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Altering-total-to-sum-instead-of-if-statement-DAX/m-p/2365261#M60533</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-02-28T17:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Altering total to sum instead of if statement - DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Altering-total-to-sum-instead-of-if-statement-DAX/m-p/2365262#M60534</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="300477" data-lia-user-login="h4n1234" class="lia-mention lia-mention-user"&gt;h4n1234&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what are you slicing by?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 17:28:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Altering-total-to-sum-instead-of-if-statement-DAX/m-p/2365262#M60534</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-02-28T17:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Altering total to sum instead of if statement - DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Altering-total-to-sum-instead-of-if-statement-DAX/m-p/2365277#M60535</link>
      <description>&lt;P&gt;Z=&lt;BR /&gt;SUMX (&lt;/P&gt;&lt;P&gt;VALUES ( your slicing by column ), CALCULATE ( IF ( [X] &amp;gt; 0.5, [Y], 0 ) )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 17:37:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Altering-total-to-sum-instead-of-if-statement-DAX/m-p/2365277#M60535</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-02-28T17:37:39Z</dc:date>
    </item>
  </channel>
</rss>

