<?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: Replace 0 with Blank() in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-0-with-Blank/m-p/2939082#M96995</link>
    <description>&lt;P&gt;Maybe use a measure instead of a column:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Name measure = IF(SELECTEDVALUE([min THC%] = 0, BLANK(), SELECTEDVALUE([min THC%])).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If min THC% should be summed, then use SUM instead of 'SELECTEDVALUE'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is also an option to transform your data, but then you're not using DAX. Change column to text and replace 0 with "" and change back..&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2022 13:52:04 GMT</pubDate>
    <dc:creator>henkvankester</dc:creator>
    <dc:date>2022-11-30T13:52:04Z</dc:date>
    <item>
      <title>Replace 0 with Blank()</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-0-with-Blank/m-p/2057132#M46365</link>
      <description>&lt;P&gt;Hello all, (simple request)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While everyone has the issue of &lt;STRONG&gt;'How to replace Blank() with 0'&lt;/STRONG&gt; I'm actually trying to do the opposite.&lt;/P&gt;&lt;P&gt;Instead, I would like to '&lt;STRONG&gt;Replace 0 with Blank()' aka a Blank space value&lt;/STRONG&gt; result. (_____)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below I just want &lt;STRONG&gt;0&lt;/STRONG&gt; to be a&amp;nbsp;&lt;STRONG&gt;Blank space value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;What DAX direction would you recommend for this?&lt;/P&gt;&lt;P&gt;Thanks for any feedback and for pointing me in the right direction!&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 23:34:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-0-with-Blank/m-p/2057132#M46365</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-03T23:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Replace 0 with Blank()</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-0-with-Blank/m-p/2057227#M46368</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Maybe Column = IF([Min THC%] = 0,BLANK(),[Min THC%])&lt;/P&gt;</description>
      <pubDate>Sat, 04 Sep 2021 03:16:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-0-with-Blank/m-p/2057227#M46368</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2021-09-04T03:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Replace 0 with Blank()</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-0-with-Blank/m-p/2855855#M91793</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp; Anonymous&lt;/a&gt;&amp;nbsp; &amp;nbsp; I found this post as I am looking for the same thing.&amp;nbsp; &amp;nbsp; However, I'm not sure the answer above is exactly what the original poster was looking for.&amp;nbsp; &amp;nbsp;I think he wanted (as do I), an actual empty cell, with no 0 and not a cell that has the word "Blank" in it.&amp;nbsp; &amp;nbsp;Just an empty cell.&amp;nbsp; &amp;nbsp; Adding the BLANK() seems to add that word to the cell, rather than just returning an empty cell.&amp;nbsp; &amp;nbsp;(and I am looking for a measure, not a column).&amp;nbsp; Any suggestions?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 14:18:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-0-with-Blank/m-p/2855855#M91793</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-21T14:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Replace 0 with Blank()</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-0-with-Blank/m-p/2939054#M96992</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;I recomand you use conditional formatting.&lt;/P&gt;&lt;P&gt;0(Zero) would be colored in write.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Values &amp;gt; Conditional Formatting &amp;gt; Background Color&lt;/P&gt;&lt;P&gt;2) Format Style : Rules&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Rules - If value : = 0&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; then = white color&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Nov 2022 13:45:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-0-with-Blank/m-p/2939054#M96992</guid>
      <dc:creator>Tiagojk</dc:creator>
      <dc:date>2022-11-30T13:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Replace 0 with Blank()</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-0-with-Blank/m-p/2939082#M96995</link>
      <description>&lt;P&gt;Maybe use a measure instead of a column:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Name measure = IF(SELECTEDVALUE([min THC%] = 0, BLANK(), SELECTEDVALUE([min THC%])).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If min THC% should be summed, then use SUM instead of 'SELECTEDVALUE'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is also an option to transform your data, but then you're not using DAX. Change column to text and replace 0 with "" and change back..&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 13:52:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-0-with-Blank/m-p/2939082#M96995</guid>
      <dc:creator>henkvankester</dc:creator>
      <dc:date>2022-11-30T13:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Replace 0 with Blank()</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-0-with-Blank/m-p/4234311#M167465</link>
      <description>&lt;P&gt;Right click on the column in power query and use the replace values option. Replace '0' with 'null'&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 02:01:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-0-with-Blank/m-p/4234311#M167465</guid>
      <dc:creator>gidion</dc:creator>
      <dc:date>2024-10-09T02:01:25Z</dc:date>
    </item>
  </channel>
</rss>

