<?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: Calculation with filter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937922#M9879</link>
    <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;for example: all YAGO volume is multiplied by 2%&amp;nbsp;to get the AOP Target - what I am trying to do is have the 3 names (Russell Curtis and Jarrod Patrick and Nigel Smith) in the Sales Manager column be excluded from the AOP Target of 2% so having their targets showing no change to that in the TY Volume column&lt;/P&gt;</description>
    <pubDate>Tue, 18 Feb 2020 21:34:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-02-18T21:34:27Z</dc:date>
    <item>
      <title>Calculation with filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937838#M9866</link>
      <description>&lt;P&gt;I have a measure that I'm multipying by 2% on last year for sales managers.&amp;nbsp; I want to exclude 3 sale managers names from that&amp;nbsp; calculation.&amp;nbsp; My formula does not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;test = CALCULATE(SUM([YAGO Combined Volume])*1.02, 'RSM Performance'[RSMP YAGO Volume]&amp;lt;&amp;gt;"Russell Curtis", 'RSM Performance'[RSMP YAGO Volume]&amp;lt;&amp;gt;"Jarrod Patrick", 'RSM Performance'[RSMP YAGO Volume]&amp;lt;&amp;gt;"Nigel Smith")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice is greatly appreciated&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 20:24:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937838#M9866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-18T20:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation with filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937847#M9867</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try SUMX()&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;test = CALCULATE(SUMX(Table, Table[YAGO Combined Volume])*1.02, 'RSM Performance'[RSMP YAGO Volume]&amp;lt;&amp;gt;"Russell Curtis", 'RSM Performance'[RSMP YAGO Volume]&amp;lt;&amp;gt;"Jarrod Patrick", 'RSM Performance'[RSMP YAGO Volume]&amp;lt;&amp;gt;"Nigel Smith")&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 18 Feb 2020 20:34:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937847#M9867</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2020-02-18T20:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation with filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937857#M9868</link>
      <description>&lt;P&gt;I've tried the formula below but giving an error message&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 18 Feb 2020 20:47:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937857#M9868</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-18T20:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation with filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937868#M9869</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;pardon, my prev statement has a mistake plus try FILTER&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;test = CALCULATE(SUMX('RSM Performance', 'RSM Performance'[YAGO Combined Volume]*1.02), FILTER(ALL('RSM Performance'), 'RSM Performance'[RSMP YAGO Volume]&amp;lt;&amp;gt;"Russell Curtis" &amp;amp;&amp;amp; 'RSM Performance'[RSMP YAGO Volume]&amp;lt;&amp;gt;"Jarrod Patrick" &amp;amp;&amp;amp; 'RSM Performance'[RSMP YAGO Volume]&amp;lt;&amp;gt;"Nigel Smith"))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 20:55:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937868#M9869</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2020-02-18T20:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation with filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937871#M9870</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and how exactly do you want to multiple?&lt;/P&gt;
&lt;P&gt;do you want to multiply each value and sum results or multiply sum of column?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 20:58:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937871#M9870</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2020-02-18T20:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation with filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937889#M9875</link>
      <description>&lt;P&gt;I've tried that but when I add the measure to my report, I get gray box with details&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 21:12:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937889#M9875</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-18T21:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation with filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937890#M9876</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you sure you want to compare&amp;nbsp;'RSM Performance'[RSMP YAGO Volume] column with names? how is your data look like?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 21:14:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937890#M9876</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2020-02-18T21:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation with filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937899#M9877</link>
      <description>&lt;P&gt;I don't want to compare&amp;nbsp;'RSM Performance'[RSMP YAGO Volume] column with names, but just exclude the 3 names from the volume calculation in the report &amp;nbsp;(ie. for those 3 names, the caculation wont have an effect)&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 21:23:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937899#M9877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-18T21:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation with filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937904#M9878</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what column contains names?&lt;/P&gt;
&lt;P&gt;show data example, please&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 21:26:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937904#M9878</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2020-02-18T21:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation with filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937922#M9879</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;for example: all YAGO volume is multiplied by 2%&amp;nbsp;to get the AOP Target - what I am trying to do is have the 3 names (Russell Curtis and Jarrod Patrick and Nigel Smith) in the Sales Manager column be excluded from the AOP Target of 2% so having their targets showing no change to that in the TY Volume column&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 21:34:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937922#M9879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-18T21:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation with filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937925#M9880</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;maybe you need just smth like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
var _multiplier = IF(SELECTEDVALUE('RSM Performance'[Sales Manager]) = "Russell Curtis" || SELECTEDVALUE('RSM Performance'[Sales Manager]) = "Jarrod Patrick" || SELECTEDVALUE('RSM Performance'[Sales Manager]) = "Nigel Smith", 1, 1.02 )

RETURN
_multiplier * calculate(sum('RSM Performance'[YAGO Volume]))
&lt;/LI-CODE&gt;
&lt;P&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 21:42:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937925#M9880</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2020-02-18T21:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation with filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937935#M9881</link>
      <description>&lt;P&gt;Perfect!!. Thanks very much &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 21:52:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-with-filter/m-p/937935#M9881</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-18T21:52:18Z</dc:date>
    </item>
  </channel>
</rss>

