<?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: Calculating a % while excluding others in the same column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-a-while-excluding-others-in-the-same-column/m-p/1343836#M24084</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="174938" data-lia-user-login="alisonpappas" class="lia-mention lia-mention-user"&gt;alisonpappas&lt;/a&gt; , try one of the two&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;measure =&lt;BR /&gt;divide(calculate(Sum(Table[value]), filter(Table, Table[Column] ="A")),calculate(Sum(Table[value]), filter(Table, Table[Column] in{"A","B"})))&lt;BR /&gt;&amp;nbsp;or&lt;BR /&gt;&lt;BR /&gt;measure =&lt;BR /&gt;divide(calculate(Sum(Table[value]), filter(All(Table), Table[Column] ="A")),calculate(Sum(Table[value]), filter(All(Table), Table[Column] in{"A","B"})))&lt;/P&gt;</description>
    <pubDate>Thu, 03 Sep 2020 10:23:26 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2020-09-03T10:23:26Z</dc:date>
    <item>
      <title>Calculating a % while excluding others in the same column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-a-while-excluding-others-in-the-same-column/m-p/1342296#M24030</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need help with a DAX formula to do the percent of an item. I have a coulnm that consists of 5 different items, A B C D E, for example. I only want to use two in an equation: A/A+B. This number will give me the % of A the total of A and B only. Does anyone know how to calculate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Alison&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 20:30:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-a-while-excluding-others-in-the-same-column/m-p/1342296#M24030</guid>
      <dc:creator>alisonpappas</dc:creator>
      <dc:date>2020-09-02T20:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a % while excluding others in the same column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-a-while-excluding-others-in-the-same-column/m-p/1342354#M24032</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="174938" data-lia-user-login="alisonpappas" class="lia-mention lia-mention-user"&gt;alisonpappas&lt;/a&gt;&amp;nbsp;- Hard to be specific without sample data but maybe:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
  VAR __Numerator = SUMX(FILTER(ALL('Table'),[Column]="A"),[Value])
  VAR __Denominator = SUMX(FILTER(ALL('Table'),[Column]="A" || [Column]="B"),[Value])
RETURN
  DIVIDE(__Numerator,__Denominator,0)
&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 02 Sep 2020 21:01:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-a-while-excluding-others-in-the-same-column/m-p/1342354#M24032</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-09-02T21:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a % while excluding others in the same column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-a-while-excluding-others-in-the-same-column/m-p/1343836#M24084</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="174938" data-lia-user-login="alisonpappas" class="lia-mention lia-mention-user"&gt;alisonpappas&lt;/a&gt; , try one of the two&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;measure =&lt;BR /&gt;divide(calculate(Sum(Table[value]), filter(Table, Table[Column] ="A")),calculate(Sum(Table[value]), filter(Table, Table[Column] in{"A","B"})))&lt;BR /&gt;&amp;nbsp;or&lt;BR /&gt;&lt;BR /&gt;measure =&lt;BR /&gt;divide(calculate(Sum(Table[value]), filter(All(Table), Table[Column] ="A")),calculate(Sum(Table[value]), filter(All(Table), Table[Column] in{"A","B"})))&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 10:23:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-a-while-excluding-others-in-the-same-column/m-p/1343836#M24084</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-09-03T10:23:26Z</dc:date>
    </item>
  </channel>
</rss>

