<?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: 0 not recognized as a number in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-not-recognized-as-a-number/m-p/903594#M8355</link>
    <description>&lt;P&gt;In the first clause , remove the '= BLANK()' and put isblank before the column name (with brackets round the column)&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jan 2020 16:13:24 GMT</pubDate>
    <dc:creator>HotChilli</dc:creator>
    <dc:date>2020-01-17T16:13:24Z</dc:date>
    <item>
      <title>0 not recognized as a number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-not-recognized-as-a-number/m-p/903510#M8349</link>
      <description>&lt;P&gt;I'm trying to do a command but I can't work out how to get it to recognise 0 as a number rather than a blank, the issue I have is I have both blanks and 0's in my column, this is my command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Day Groups = IF('Claims Full + Complaints'[Days from Claim to Complaint]=BLANK(), "No Complaint",IF('Claims Full + Complaints'[Days from Claim to Complaint]=0,"Within 15 days", IF('Claims Full + Complaints'[Days from Claim to Complaint]&amp;lt;16,"Within 15 days", IF('Claims Full + Complaints'[Days from Claim to Complaint]&amp;lt;31,"Within 30 days", IF('Claims Full + Complaints'[Days from Claim to Complaint]&amp;lt;61,"Within 60 days", IF('Claims Full + Complaints'[Days from Claim to Complaint]&amp;gt;60,"Over 60 days"))))))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The result is both blanks and 0's come out as "No Complaints".&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hopefully someone can help? Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Jan 2020 14:43:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-not-recognized-as-a-number/m-p/903510#M8349</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-17T14:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: 0 not recognized as a number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-not-recognized-as-a-number/m-p/903571#M8352</link>
      <description>&lt;P&gt;Use ISBLANK(column) rather than '= BLANK'&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 15:51:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-not-recognized-as-a-number/m-p/903571#M8352</guid>
      <dc:creator>HotChilli</dc:creator>
      <dc:date>2020-01-17T15:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: 0 not recognized as a number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-not-recognized-as-a-number/m-p/903579#M8353</link>
      <description>&lt;P&gt;Sorry how do I work that into my command I already have? Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 15:56:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-not-recognized-as-a-number/m-p/903579#M8353</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-17T15:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: 0 not recognized as a number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-not-recognized-as-a-number/m-p/903594#M8355</link>
      <description>&lt;P&gt;In the first clause , remove the '= BLANK()' and put isblank before the column name (with brackets round the column)&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 16:13:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-not-recognized-as-a-number/m-p/903594#M8355</guid>
      <dc:creator>HotChilli</dc:creator>
      <dc:date>2020-01-17T16:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: 0 not recognized as a number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-not-recognized-as-a-number/m-p/903599#M8357</link>
      <description>&lt;P&gt;Perfect thank you for your help&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 16:19:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-not-recognized-as-a-number/m-p/903599#M8357</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-17T16:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: 0 not recognized as a number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-not-recognized-as-a-number/m-p/903858#M8373</link>
      <description>&lt;P&gt;.. by the way, although the code works, nested IFs like that are a nasty way to accomplish it. SWITCH is a much more readable way to go - like this:&lt;BR /&gt;&lt;SPAN&gt;Day Groups = SWITCH(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; TRUE(),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ISBLANK( 'Claims Full + Complaints'[Days from Claim to Complaint] ), "No Complaint",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; 'Claims Full + Complaints'[Days from Claim to Complaint] = 0, "Within 15 days",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; 'Claims Full + Complaints'[Days from Claim to Complaint] &amp;lt; 16, "Within 15 days",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; 'Claims Full + Complaints'[Days from Claim to Complaint] &amp;lt; 31, "Within 30 days",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; 'Claims Full + Complaints'[Days from Claim to Complaint] &amp;lt; 61, "Within 60 days",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; "Over 60 days"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 23:01:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-not-recognized-as-a-number/m-p/903858#M8373</guid>
      <dc:creator>Peter_R</dc:creator>
      <dc:date>2020-01-17T23:01:06Z</dc:date>
    </item>
  </channel>
</rss>

