<?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: Trying to understand the outcome from my DAX code using Min &amp;amp; Max (especially for character) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-understand-the-outcome-from-my-DAX-code-using-Min-amp/m-p/2022914#M45118</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="296339" data-lia-user-login="JustinDoh1" class="lia-mention lia-mention-user"&gt;JustinDoh1&lt;/a&gt; , Try like &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Refused 0817 = 
     Sumx (SUMMARIZE( Table1, Table1[Consent], Table1[ConsentDate],"_1",  
                            CALCULATE( DISTINCTCOUNT( Table1[ClientID] ),
                            ( 
                                
                                Table1[Consent] = "Refused"  &amp;amp;&amp;amp;
                                Table1[step] = 1 // &amp;amp;&amp;amp; 
                                //vImmunization &amp;lt; vConsent
                                )               
                            ))
                            , [_1]) &lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 18 Aug 2021 07:49:20 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2021-08-18T07:49:20Z</dc:date>
    <item>
      <title>Trying to understand the outcome from my DAX code using Min &amp; Max (especially for character)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-understand-the-outcome-from-my-DAX-code-using-Min-amp/m-p/2022160#M45091</link>
      <description>&lt;P&gt;I am sharing my Pbix file &lt;A href="https://drive.google.com/file/d/1sLiR5jRi7Oztt2gb2hE8em7aja-yiuoR/view?usp=sharing" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to understand the logic here:&lt;/P&gt;&lt;P&gt;I got the final value as 0, and I am trying to understand how I got it.&lt;/P&gt;&lt;P&gt;If you look at the bottom formula, basically if the second argument meets the criteria, the outcome is 0&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;This is data:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I get the 0 when:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;min(Step) = 1&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp;&amp;amp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;min(Consent) is not "Refused"&amp;nbsp; &amp;amp;&amp;amp;&lt;/P&gt;&lt;P&gt;min(ConsentDate) is not blank&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;max(Step) = 2&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp;&amp;amp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;max(Consent) is not "Refused"&amp;nbsp; &amp;amp;&amp;amp;&lt;/P&gt;&lt;P&gt;max(ConsentDate) is not blank&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Null is considered blank, correct? no?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 23:16:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-understand-the-outcome-from-my-DAX-code-using-Min-amp/m-p/2022160#M45091</guid>
      <dc:creator>JustinDoh1</dc:creator>
      <dc:date>2021-08-17T23:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to understand the outcome from my DAX code using Min &amp; Max (especially for character)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-understand-the-outcome-from-my-DAX-code-using-Min-amp/m-p/2022914#M45118</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="296339" data-lia-user-login="JustinDoh1" class="lia-mention lia-mention-user"&gt;JustinDoh1&lt;/a&gt; , Try like &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Refused 0817 = 
     Sumx (SUMMARIZE( Table1, Table1[Consent], Table1[ConsentDate],"_1",  
                            CALCULATE( DISTINCTCOUNT( Table1[ClientID] ),
                            ( 
                                
                                Table1[Consent] = "Refused"  &amp;amp;&amp;amp;
                                Table1[step] = 1 // &amp;amp;&amp;amp; 
                                //vImmunization &amp;lt; vConsent
                                )               
                            ))
                            , [_1]) &lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 18 Aug 2021 07:49:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-understand-the-outcome-from-my-DAX-code-using-Min-amp/m-p/2022914#M45118</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-08-18T07:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to understand the outcome from my DAX code using Min &amp; Max (especially for character)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-understand-the-outcome-from-my-DAX-code-using-Min-amp/m-p/2024118#M45185</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;Thanks for your help. I am trying to understand the code.&amp;nbsp; What do &lt;STRONG&gt;"_1"&lt;/STRONG&gt; and &lt;STRONG&gt;[_1]&lt;/STRONG&gt; do?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 17:10:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-understand-the-outcome-from-my-DAX-code-using-Min-amp/m-p/2024118#M45185</guid>
      <dc:creator>JustinDoh1</dc:creator>
      <dc:date>2021-08-18T17:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to understand the outcome from my DAX code using Min &amp; Max (especially for character)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-understand-the-outcome-from-my-DAX-code-using-Min-amp/m-p/2024961#M45235</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="296339" data-lia-user-login="JustinDoh1" class="lia-mention lia-mention-user"&gt;JustinDoh1&lt;/a&gt; , first one is new column I am creating in temp table, Second I am using that column &lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 05:31:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-understand-the-outcome-from-my-DAX-code-using-Min-amp/m-p/2024961#M45235</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-08-19T05:31:34Z</dc:date>
    </item>
  </channel>
</rss>

