<?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 0 instead of (Blank) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-instead-of-Blank/m-p/1247482#M20487</link>
    <description>&lt;P&gt;Hello everybody.&lt;/P&gt;&lt;P&gt;I have several measures that calculate some total sums for numerous situations.&lt;/P&gt;&lt;P&gt;Some of them are displaying "(Blank)" if there is no value.&lt;/P&gt;&lt;P&gt;How can I replace this with a "0" ?&lt;/P&gt;&lt;P&gt;I mean, of course, I could do a pretty simple IF ...;0; ...&lt;/P&gt;&lt;P&gt;But is there are more efficient and elegant way?&lt;/P&gt;&lt;P&gt;Is there maybe a function for that?&lt;BR /&gt;Or from a dax performance point of view, what is the best way?&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jul 2020 07:43:09 GMT</pubDate>
    <dc:creator>joshua1990</dc:creator>
    <dc:date>2020-07-24T07:43:09Z</dc:date>
    <item>
      <title>0 instead of (Blank)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-instead-of-Blank/m-p/1247482#M20487</link>
      <description>&lt;P&gt;Hello everybody.&lt;/P&gt;&lt;P&gt;I have several measures that calculate some total sums for numerous situations.&lt;/P&gt;&lt;P&gt;Some of them are displaying "(Blank)" if there is no value.&lt;/P&gt;&lt;P&gt;How can I replace this with a "0" ?&lt;/P&gt;&lt;P&gt;I mean, of course, I could do a pretty simple IF ...;0; ...&lt;/P&gt;&lt;P&gt;But is there are more efficient and elegant way?&lt;/P&gt;&lt;P&gt;Is there maybe a function for that?&lt;BR /&gt;Or from a dax performance point of view, what is the best way?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 07:43:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-instead-of-Blank/m-p/1247482#M20487</guid>
      <dc:creator>joshua1990</dc:creator>
      <dc:date>2020-07-24T07:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: 0 instead of (Blank)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-instead-of-Blank/m-p/1247529#M20490</link>
      <description>&lt;P&gt;You'll have to write out a measure for your calculation then add +0 to the end for example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN class="hljs-built_in"&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(Sales[Amt])+0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This essentially says calculate this amount then add 0.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 08:01:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-instead-of-Blank/m-p/1247529#M20490</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-24T08:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: 0 instead of (Blank)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-instead-of-Blank/m-p/1247549#M20492</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92006" data-lia-user-login="joshua1990" class="lia-mention lia-mention-user"&gt;joshua1990&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure = SUM('Table'[Sales]) + 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;COALESCE Sales = COALESCE([Total Sales],0)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Harsh Nathani&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Appreciate with a Kudos!! (Click the Thumbs Up Button)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 08:07:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-instead-of-Blank/m-p/1247549#M20492</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-24T08:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: 0 instead of (Blank)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-instead-of-Blank/m-p/1247562#M20493</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92006" data-lia-user-login="joshua1990" class="lia-mention lia-mention-user"&gt;joshua1990&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just modify your measure as follows: &lt;STRONG&gt;SUM(Tablename[Column]) + 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pragati&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 08:09:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-instead-of-Blank/m-p/1247562#M20493</guid>
      <dc:creator>Pragati11</dc:creator>
      <dc:date>2020-07-24T08:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: 0 instead of (Blank)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-instead-of-Blank/m-p/1248274#M20510</link>
      <description>&lt;P&gt;Multiple people have already suggested the "+0" solution to this.&amp;nbsp; Depending on the columns you are using in your visual, you may see many more rows/columns show up.&amp;nbsp; Visuals automatically filter out blanks, so adding 0 will return a result in those situations that would have been filtered out.&amp;nbsp; You may need to add a separate filter to the visual, etc. to keep remove those unneeded ones again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 12:02:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-instead-of-Blank/m-p/1248274#M20510</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2020-07-24T12:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: 0 instead of (Blank)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-instead-of-Blank/m-p/1248352#M20521</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92006" data-lia-user-login="joshua1990" class="lia-mention lia-mention-user"&gt;joshua1990&lt;/a&gt;&amp;nbsp;If this has solved your question. Please can you accept a solution.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 12:38:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-instead-of-Blank/m-p/1248352#M20521</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-24T12:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: 0 instead of (Blank)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-instead-of-Blank/m-p/1249851#M20561</link>
      <description>&lt;P&gt;Yes, I see. Now I see 0 values for the whole year.&lt;/P&gt;&lt;P&gt;I should consider that somehow &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Maybe a conditional format if the value is blank would solve that challenge?&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jul 2020 07:48:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-instead-of-Blank/m-p/1249851#M20561</guid>
      <dc:creator>joshua1990</dc:creator>
      <dc:date>2020-07-25T07:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: 0 instead of (Blank)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-instead-of-Blank/m-p/1251155#M20617</link>
      <description>&lt;P&gt;If you are seeing more zeros than you wanted, you can use IF logic to get your desired result.&amp;nbsp; For example, a date requirement or if another measure is blank or not, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NewMeasure = IF(some logic, [Measure] + 0, [Measure])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this works for you, please mark it as the solution.&amp;nbsp; Kudos are appreciated too.&amp;nbsp; Please let me know if not.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jul 2020 21:08:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/0-instead-of-Blank/m-p/1251155#M20617</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2020-07-26T21:08:56Z</dc:date>
    </item>
  </channel>
</rss>

