<?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: How can I convert negative value to zero in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-convert-negative-value-to-zero/m-p/105781#M180</link>
    <description>&lt;P&gt;Ya we can do .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If ( &amp;nbsp;measure &amp;lt; 0 , 0 , measure )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thats it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let me know if any further help.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Dec 2016 04:08:39 GMT</pubDate>
    <dc:creator>Baskar</dc:creator>
    <dc:date>2016-12-23T04:08:39Z</dc:date>
    <item>
      <title>How can I convert negative value to zero</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-convert-negative-value-to-zero/m-p/80485#M112</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I couldn't find a solution for this, so I really do hope that someone can support with this.&lt;/P&gt;&lt;P&gt;I have calculation where negative values should be converted to zero. Any ideas?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;-Kati&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 13:47:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-convert-negative-value-to-zero/m-p/80485#M112</guid>
      <dc:creator>kati70</dc:creator>
      <dc:date>2016-10-20T13:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can I convert negative value to zero</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-convert-negative-value-to-zero/m-p/80489#M113</link>
      <description>&lt;P&gt;Have you tried adding a conditional column? See example below. Of course with your own column names. I am the first to admit that this is not very elegant, but it should work until you have a better solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img&gt;﻿&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 13:52:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-convert-negative-value-to-zero/m-p/80489#M113</guid>
      <dc:creator>skasper</dc:creator>
      <dc:date>2016-10-20T13:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can I convert negative value to zero</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-convert-negative-value-to-zero/m-p/98974#M165</link>
      <description>&lt;P&gt;Test if the number is negative, and if so, add the abolute value of that number.&lt;/P&gt;&lt;P&gt;That will give you the zero.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF( [Number] &amp;lt; 0, [Number] + ABS( [Number] ), [Number] )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--Eric.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 21:53:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-convert-negative-value-to-zero/m-p/98974#M165</guid>
      <dc:creator>epieters</dc:creator>
      <dc:date>2016-12-07T21:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can I convert negative value to zero</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-convert-negative-value-to-zero/m-p/105781#M180</link>
      <description>&lt;P&gt;Ya we can do .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If ( &amp;nbsp;measure &amp;lt; 0 , 0 , measure )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thats it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let me know if any further help.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 04:08:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-convert-negative-value-to-zero/m-p/105781#M180</guid>
      <dc:creator>Baskar</dc:creator>
      <dc:date>2016-12-23T04:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I convert negative value to zero</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-convert-negative-value-to-zero/m-p/1609103#M32318</link>
      <description>&lt;P&gt;I am wondering if this is the optimal way or if using the function max( measure, 0) performs quicker.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(apologies for ressurecting an old thread!)&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 16:41:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-convert-negative-value-to-zero/m-p/1609103#M32318</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-19T16:41:53Z</dc:date>
    </item>
  </channel>
</rss>

