<?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: Filter Table Results to include certain values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Table-Results-to-include-certain-values/m-p/1896780#M40881</link>
    <description>&lt;P&gt;Have you tried this simpler expression?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Total Sales&amp;nbsp; = CALCULATE(SUM('promo dbase'[Total Sales]), 'promo dbase'[Include]="Yes")&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Pat&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 12 Jun 2021 02:29:47 GMT</pubDate>
    <dc:creator>mahoneypat</dc:creator>
    <dc:date>2021-06-12T02:29:47Z</dc:date>
    <item>
      <title>Filter Table Results to include certain values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Table-Results-to-include-certain-values/m-p/1896208#M40860</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a Table listing results of promotional activity with each line showing an event, Total Sales, Total Promo Volume, etc which are input as measures.&amp;nbsp; I have another column in my dataset called "Include" with Yes/No values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dataset name: promo dbase&lt;/P&gt;&lt;P&gt;Measure Name "Total Sales"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to filter my table to show all results visually but only include values corresponding to a "Yes" value in the totals.&amp;nbsp; Here is where I am stuck:&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Total Sales&amp;nbsp; = CALCULATE(SUM('promo dbase'[Total Sales]),FILTER('promo dbase',(SEARCH("Yes",[Include]))))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help would be greatly appreciated!&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 14:48:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Table-Results-to-include-certain-values/m-p/1896208#M40860</guid>
      <dc:creator>Jhaynie</dc:creator>
      <dc:date>2021-06-11T14:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Table Results to include certain values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Table-Results-to-include-certain-values/m-p/1896780#M40881</link>
      <description>&lt;P&gt;Have you tried this simpler expression?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Total Sales&amp;nbsp; = CALCULATE(SUM('promo dbase'[Total Sales]), 'promo dbase'[Include]="Yes")&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Pat&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jun 2021 02:29:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Table-Results-to-include-certain-values/m-p/1896780#M40881</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2021-06-12T02:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Table Results to include certain values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Table-Results-to-include-certain-values/m-p/1906644#M41170</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp; I modified it to show the values in the table even when they are not counted by wrapping it in an "IF" statement:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Total Sales Chart = IF(CALCULATE(SUM('promo dbase'[Total Sales]), 'promo dbase'[Include]=1)&amp;gt;0,CALCULATE(SUM('promo dbase'[Total Sales]), 'promo dbase'[Include]=1),[Total Sales])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I changed "Yes" and "No" values to "1" and "2"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 17 Jun 2021 13:13:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Table-Results-to-include-certain-values/m-p/1906644#M41170</guid>
      <dc:creator>Jhaynie</dc:creator>
      <dc:date>2021-06-17T13:13:35Z</dc:date>
    </item>
  </channel>
</rss>

