<?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 How to filter out rows from calculation in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-rows-from-calculation/m-p/1927979#M41829</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if anybody could help me with what I think should be achieved very simply in DAX - I just can't find the right function!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two columns of data, let's say Column A and Column B. I'd like to SUM Column A based on the values in Column B.&lt;/P&gt;&lt;P&gt;With the example data below, I'd like to sum Column A for all values in Column B EXCLUDING blanks and 'Don't know'. So my total sum should be only for 'yes' and 'no' and therefore be 65. So my question is: how do I exclude specific values in a column from a calculation?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Any help much appreciated!&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jun 2021 10:27:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-06-29T10:27:36Z</dc:date>
    <item>
      <title>How to filter out rows from calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-rows-from-calculation/m-p/1927979#M41829</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if anybody could help me with what I think should be achieved very simply in DAX - I just can't find the right function!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two columns of data, let's say Column A and Column B. I'd like to SUM Column A based on the values in Column B.&lt;/P&gt;&lt;P&gt;With the example data below, I'd like to sum Column A for all values in Column B EXCLUDING blanks and 'Don't know'. So my total sum should be only for 'yes' and 'no' and therefore be 65. So my question is: how do I exclude specific values in a column from a calculation?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Any help much appreciated!&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 10:27:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-rows-from-calculation/m-p/1927979#M41829</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-29T10:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out rows from calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-rows-from-calculation/m-p/1928022#M41833</link>
      <description>&lt;P&gt;Excel, our oldie but goodie does the trick with ease,&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 10:51:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-rows-from-calculation/m-p/1928022#M41833</guid>
      <dc:creator>CNENFRNL</dc:creator>
      <dc:date>2021-06-29T10:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out rows from calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-rows-from-calculation/m-p/1928038#M41835</link>
      <description>&lt;P&gt;Thanks for this, but I need to do this within Power BI using a measure&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 10:59:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-rows-from-calculation/m-p/1928038#M41835</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-29T10:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out rows from calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-rows-from-calculation/m-p/1928072#M41837</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Result measure =&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;SUMX ( FILTER ( 'Table', NOT ( 'Table'[B] IN { "D", "" } ) ), 'Table'[A] )&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/ou6ab6bsvhri2pe/harriet.pbix?dl=0" target="_self"&gt;https://www.dropbox.com/s/ou6ab6bsvhri2pe/harriet.pbix?dl=0&lt;/A&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, 29 Jun 2021 11:18:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-rows-from-calculation/m-p/1928072#M41837</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-06-29T11:18:54Z</dc:date>
    </item>
  </channel>
</rss>

