<?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: Using * -1 with a Dax measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-1-with-a-Dax-measure/m-p/2299280#M56740</link>
    <description>&lt;P&gt;Hi Samarth&lt;/P&gt;&lt;P&gt;Got it to work, much appreciate your help!&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I notice you are a Memorable Member, what does that mean?&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jan 2022 19:41:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-01-24T19:41:30Z</dc:date>
    <item>
      <title>Using * -1 with a Dax measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-1-with-a-Dax-measure/m-p/2299224#M56733</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Power BI Community Good Day!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The Dax below is giving me a positive value. What do I have to do to modify the Dax with * -1 to make it a negative value?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Net Timing = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;metricssalescustomer[amount]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;metricssalescustomer[sales_type_lvl1]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Lost - Timing"&lt;/SPAN&gt;&lt;SPAN&gt; || &lt;/SPAN&gt;&lt;SPAN&gt;metricssalescustomer[sales_type_lvl1]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Decline - Timing"&lt;/SPAN&gt;&lt;SPAN&gt; || &lt;/SPAN&gt;&lt;SPAN&gt;metricssalescustomer[sales_type_lvl1]&lt;/SPAN&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;"Upsell - Timing"&lt;/SPAN&gt;&lt;SPAN&gt;|| &lt;/SPAN&gt;&lt;SPAN&gt;metricssalescustomer[sales_type_lvl1]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"New - Timing"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Much appreciate your time&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 24 Jan 2022 18:39:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-1-with-a-Dax-measure/m-p/2299224#M56733</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-24T18:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using * -1 with a Dax measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-1-with-a-Dax-measure/m-p/2299256#M56735</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can try below code:-&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Net Timing =
VAR result =
    CALCULATE (
        SUM ( metricssalescustomer[amount] ),
        metricssalescustomer[sales_type_lvl1] = "Lost - Timing"
            || metricssalescustomer[sales_type_lvl1] = "Decline - Timing"
            || metricssalescustomer[sales_type_lvl1] = "Upsell - Timing"
            || metricssalescustomer[sales_type_lvl1] = "New - Timing"
    )
RETURN
    result * -1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Samarth&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 19:14:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-1-with-a-Dax-measure/m-p/2299256#M56735</guid>
      <dc:creator>Samarth_18</dc:creator>
      <dc:date>2022-01-24T19:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using * -1 with a Dax measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-1-with-a-Dax-measure/m-p/2299280#M56740</link>
      <description>&lt;P&gt;Hi Samarth&lt;/P&gt;&lt;P&gt;Got it to work, much appreciate your help!&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I notice you are a Memorable Member, what does that mean?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 19:41:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-1-with-a-Dax-measure/m-p/2299280#M56740</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-24T19:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using * -1 with a Dax measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-1-with-a-Dax-measure/m-p/2299469#M56755</link>
      <description>&lt;P&gt;You can just stick a "-" in from of CALCULATE or SUM too but you may want to keep more visible than just a single character.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd probably do something like this:&lt;/P&gt;
&lt;LI-CODE lang="php"&gt;Net Timing =
CALCULATE (
    -1 * SUM ( metricssalescustomer[amount] ),
    metricssalescustomer[sales_type_lvl1]
        IN { "Lost - Timing", "Decline - Timing", "Upsell - Timing", "New - Timing" }
)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 24 Jan 2022 22:09:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-1-with-a-Dax-measure/m-p/2299469#M56755</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2022-01-24T22:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using * -1 with a Dax measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-1-with-a-Dax-measure/m-p/2299787#M56772</link>
      <description>&lt;P&gt;Hello Alexis&lt;/P&gt;&lt;P&gt;Will give it a try.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 02:39:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-1-with-a-Dax-measure/m-p/2299787#M56772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-25T02:39:00Z</dc:date>
    </item>
  </channel>
</rss>

