<?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: Why is my MIN function ignoring 0? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-is-my-MIN-function-ignoring-0/m-p/3743588#M145993</link>
    <description>&lt;P&gt;Hi there! Thanks for your reply! Unfortuntately, I had already reviewed those resources and didn't find them helpful. If you have other suggestions, I'd really appreciate it! Thanks &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2024 15:27:18 GMT</pubDate>
    <dc:creator>Georgiaoc</dc:creator>
    <dc:date>2024-03-05T15:27:18Z</dc:date>
    <item>
      <title>Why is my MIN function ignoring 0?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-is-my-MIN-function-ignoring-0/m-p/3742695#M145967</link>
      <description>&lt;P&gt;Hi there!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've found a few posts asking how to exclude zero from MIN caluclations but I'm having the opposite problem!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&lt;SPAN&gt;I've used the following expression: MIN =&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MIN&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'TABLE'&lt;/SPAN&gt;&lt;SPAN&gt;[VARIABLE]&lt;/SPAN&gt;&lt;SPAN&gt;)+&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have added the '+0' at the end of the expression as I've read in other posts this forces it to inlcude zeros in the output and this has worked for other expressions. I have tried with with and without 'CALCULATE' at the beginning - no difference to the output.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I'm then viewing the output in a table, which includes separate calculations for MAX and MEAN - all working fine. Except MIN shows a min value of 1 for certain groups, which is not true because the raw data clearly shows some individuals within the group have a score of 0 for my variable of interest.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I cannot provide sample data because it's confidential.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you in advance for your help!&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Georgia&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 05 Mar 2024 10:39:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-is-my-MIN-function-ignoring-0/m-p/3742695#M145967</guid>
      <dc:creator>Georgiaoc</dc:creator>
      <dc:date>2024-03-05T10:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my MIN function ignoring 0?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-is-my-MIN-function-ignoring-0/m-p/3743523#M145987</link>
      <description>&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think these topics can help you&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/DAX-treats-0-as-BLANK-how-to-prevent-it/m-p/342272" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/DAX-treats-0-as-BLANK-how-to-prevent-it/m-p/342272&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 14:52:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-is-my-MIN-function-ignoring-0/m-p/3743523#M145987</guid>
      <dc:creator>JamesFR06</dc:creator>
      <dc:date>2024-03-05T14:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my MIN function ignoring 0?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-is-my-MIN-function-ignoring-0/m-p/3743588#M145993</link>
      <description>&lt;P&gt;Hi there! Thanks for your reply! Unfortuntately, I had already reviewed those resources and didn't find them helpful. If you have other suggestions, I'd really appreciate it! Thanks &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 15:27:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-is-my-MIN-function-ignoring-0/m-p/3743588#M145993</guid>
      <dc:creator>Georgiaoc</dc:creator>
      <dc:date>2024-03-05T15:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my MIN function ignoring 0?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-is-my-MIN-function-ignoring-0/m-p/3743598#M145994</link>
      <description>&lt;P&gt;I would have try this :&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&lt;SPAN&gt;MIN =&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MIN&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'TABLE'&lt;/SPAN&gt;&lt;SPAN&gt;[VARIABLE]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&lt;SPAN&gt;if(isblank(min),0,Min)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 15:34:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-is-my-MIN-function-ignoring-0/m-p/3743598#M145994</guid>
      <dc:creator>JamesFR06</dc:creator>
      <dc:date>2024-03-05T15:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my MIN function ignoring 0?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-is-my-MIN-function-ignoring-0/m-p/3744013#M146003</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So turns out my original expression techincally works - a variation of the one you provided above also works too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HOWEVER! It seems the problem is actually something within Power BI table behaviour - if I look at raw scores within a table, these do show that some individuals have a MIN score of 0, however, when they're summarized into a group within a table, it shows 1 as the MIN value.&amp;nbsp;Do you understand the logic for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Screenshot below shows an example of a group with 4 people in it - with row level detail on the right that shows that some of these people do indeed have a MIN of 0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 18:55:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-is-my-MIN-function-ignoring-0/m-p/3744013#M146003</guid>
      <dc:creator>Georgiaoc</dc:creator>
      <dc:date>2024-03-05T18:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my MIN function ignoring 0?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-is-my-MIN-function-ignoring-0/m-p/3744227#M146006</link>
      <description>&lt;P&gt;Difficult without tables in front.&lt;/P&gt;&lt;P&gt;DPV_MIN is it a rounded result ?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 21:37:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-is-my-MIN-function-ignoring-0/m-p/3744227#M146006</guid>
      <dc:creator>JamesFR06</dc:creator>
      <dc:date>2024-03-05T21:37:12Z</dc:date>
    </item>
  </channel>
</rss>

