<?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: IF and Summarizing not showing the totals in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-and-Summarizing-not-showing-the-totals/m-p/3083229#M107584</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="515663" data-lia-user-login="nogstavo" class="lia-mention lia-mention-user"&gt;nogstavo&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;SKU column is from which table?&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2023 11:22:56 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2023-02-16T11:22:56Z</dc:date>
    <item>
      <title>IF and Summarizing not showing the totals</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-and-Summarizing-not-showing-the-totals/m-p/3082356#M107503</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying my best as far as my knowledge goes to solve an issue I am having:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Objective&lt;/STRONG&gt;: "Sold IF" should only show the "Sold QTY" if "Value" is blank&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The issue:&lt;/STRONG&gt; I can seem to bring the values on a row context, but no success in summing the totals from "Sold IF".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sold IF = 

VAR Sold_Quantities =

IF( [Value] &amp;lt;&amp;gt; BLANK(), BLANK(),
 [Sold QTY]
)

Var calculo = 

    SUMMARIZE(
        factExample,
        factExample[Data],       
        "@Totals",
        Sold_Quantities 
    )


RETURN SUMX(calculo, [@Totals])

&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would gladly appreciate anyone that can help me with this.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 23:17:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-and-Summarizing-not-showing-the-totals/m-p/3082356#M107503</guid>
      <dc:creator>nogstavo</dc:creator>
      <dc:date>2023-02-15T23:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: IF and Summarizing not showing the totals</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-and-Summarizing-not-showing-the-totals/m-p/3082597#M107513</link>
      <description>&lt;LI-CODE lang="cpp"&gt;Sold IF =
SUMX (
    SUMMARIZE ( factExample, factExample[Data] ),
    IF ( [Value] &amp;lt;&amp;gt; BLANK (), BLANK (), [Sold QTY] )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 16 Feb 2023 03:14:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-and-Summarizing-not-showing-the-totals/m-p/3082597#M107513</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2023-02-16T03:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: IF and Summarizing not showing the totals</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-and-Summarizing-not-showing-the-totals/m-p/3082622#M107517</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="515663" data-lia-user-login="nogstavo" class="lia-mention lia-mention-user"&gt;nogstavo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please try&lt;/P&gt;
&lt;P&gt;Sold IF =&lt;BR /&gt;SUMX (&lt;BR /&gt;VALUES ( factExample[Data] ),&lt;BR /&gt;IF ( [Value] &amp;lt;&amp;gt; BLANK (), BLANK (), [Sold QTY] )&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 03:36:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-and-Summarizing-not-showing-the-totals/m-p/3082622#M107517</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-16T03:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: IF and Summarizing not showing the totals</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-and-Summarizing-not-showing-the-totals/m-p/3083213#M107578</link>
      <description>&lt;P&gt;Thank you very much for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried your syntax but it did not work, unfortunately.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The totals are still blank.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 11:09:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-and-Summarizing-not-showing-the-totals/m-p/3083213#M107578</guid>
      <dc:creator>nogstavo</dc:creator>
      <dc:date>2023-02-16T11:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: IF and Summarizing not showing the totals</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-and-Summarizing-not-showing-the-totals/m-p/3083214#M107579</link>
      <description>&lt;P&gt;Thank you very much for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried your syntax but it did not work, unfortunately.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The totals are still blank.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 11:10:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-and-Summarizing-not-showing-the-totals/m-p/3083214#M107579</guid>
      <dc:creator>nogstavo</dc:creator>
      <dc:date>2023-02-16T11:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: IF and Summarizing not showing the totals</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-and-Summarizing-not-showing-the-totals/m-p/3083229#M107584</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="515663" data-lia-user-login="nogstavo" class="lia-mention lia-mention-user"&gt;nogstavo&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;SKU column is from which table?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 11:22:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-and-Summarizing-not-showing-the-totals/m-p/3083229#M107584</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-16T11:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: IF and Summarizing not showing the totals</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-and-Summarizing-not-showing-the-totals/m-p/3083241#M107586</link>
      <description>&lt;P&gt;DimSKU is from this table:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Due to testing, I have created a many-to-many relationship, which I know is not a good practice.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 11:30:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-and-Summarizing-not-showing-the-totals/m-p/3083241#M107586</guid>
      <dc:creator>nogstavo</dc:creator>
      <dc:date>2023-02-16T11:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: IF and Summarizing not showing the totals</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-and-Summarizing-not-showing-the-totals/m-p/3083248#M107588</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="515663" data-lia-user-login="nogstavo" class="lia-mention lia-mention-user"&gt;nogstavo&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Assuming&amp;nbsp;&lt;SPAN&gt;[Value] and&amp;nbsp;[Sold&amp;nbsp;QTY] are measures then I see no reason for the following not to work&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Sold IF =
SUMX (
    VALUES ( dimProductos[SKU] ),
    IF ( [Value] &amp;lt;&amp;gt; BLANK (), BLANK (), [Sold QTY] )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 16 Feb 2023 11:36:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-and-Summarizing-not-showing-the-totals/m-p/3083248#M107588</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-16T11:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: IF and Summarizing not showing the totals</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-and-Summarizing-not-showing-the-totals/m-p/3083260#M107590</link>
      <description>&lt;P&gt;That worked, thank you very much!!!&lt;BR /&gt;&lt;BR /&gt;I'll study your syntax so that I can learn more.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 11:42:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-and-Summarizing-not-showing-the-totals/m-p/3083260#M107590</guid>
      <dc:creator>nogstavo</dc:creator>
      <dc:date>2023-02-16T11:42:00Z</dc:date>
    </item>
  </channel>
</rss>

