<?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 solution in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-solution/m-p/1010510#M12914</link>
    <description>So maybe:&lt;BR /&gt;&lt;BR /&gt;FILTER('Table',[Company] = "Amazon" &amp;amp;&amp;amp; [Sales] &amp;gt; 80)</description>
    <pubDate>Mon, 06 Apr 2020 16:14:39 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2020-04-06T16:14:39Z</dc:date>
    <item>
      <title>Filter solution</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-solution/m-p/1010457#M12912</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;From the example below i would like to filter sales in period 2020-01 where sales is more than 80. But i would likte to get all periods for companys that have sales of more than 80 in period 2020-01. Desired result should be to see Amazon sales in period 2020-01 and 2020-02 but not microsoft sales. is that possible and how to solve that?&lt;/P&gt;&lt;P&gt;Br&lt;/P&gt;&lt;P&gt;Arne&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example&amp;nbsp;&lt;/P&gt;&lt;P&gt;Company Period &amp;nbsp; &amp;nbsp; &amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;Amazon &amp;nbsp;&amp;nbsp; 2020-01 &amp;nbsp; 90&lt;/P&gt;&lt;P&gt;Amazon &amp;nbsp;&amp;nbsp; 2020-02&amp;nbsp; 70&lt;/P&gt;&lt;P&gt;Microsoft 2020-01 &amp;nbsp; 75&lt;/P&gt;&lt;P&gt;Microsoft 2020-02 &amp;nbsp; 100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 15:57:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-solution/m-p/1010457#M12912</guid>
      <dc:creator>Arne</dc:creator>
      <dc:date>2020-04-06T15:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Filter solution</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-solution/m-p/1010510#M12914</link>
      <description>So maybe:&lt;BR /&gt;&lt;BR /&gt;FILTER('Table',[Company] = "Amazon" &amp;amp;&amp;amp; [Sales] &amp;gt; 80)</description>
      <pubDate>Mon, 06 Apr 2020 16:14:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-solution/m-p/1010510#M12914</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-04-06T16:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Filter solution</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-solution/m-p/1011617#M12946</link>
      <description>&lt;P&gt;Hi Greg!&lt;/P&gt;&lt;P&gt;In the example it would work but in my solution i,ve got hundreds of departments so i would need some solution that first filters out every department that has sales over a specific limit for a selected period and then i would like to see sales trends for these companys for the periods i choose.&amp;nbsp; So it,s really a two step issue.&lt;/P&gt;&lt;P&gt;1. Find companys that qualify for selected sales level for the period i choose.&lt;/P&gt;&lt;P&gt;2. For companys that qualify for the first criteria show sales level for the period in first critera but also for other chosen periods.&lt;/P&gt;&lt;P&gt;Br Arne &amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 05:49:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-solution/m-p/1011617#M12946</guid>
      <dc:creator>Arne</dc:creator>
      <dc:date>2020-04-07T05:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Filter solution</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-solution/m-p/1013469#M12996</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="57953" data-lia-user-login="Arne" class="lia-mention lia-mention-user"&gt;Arne&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Try this measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Measure 2 =&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR _company = SELECTCOLUMNS(FILTER(ALL('Table (3)'); 'Table (3)'[Sales] &amp;gt; 80 &amp;amp;&amp;amp; 'Table (3)'[Period] = DATE(2020; 1;1)); "Company"; 'Table (3)'[Company])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN SUMX(FILTER('Table (3)'; 'Table (3)'[Company] IN _company); 'Table (3)'[Sales])&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;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Ricardo&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 07 Apr 2020 18:41:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-solution/m-p/1013469#M12996</guid>
      <dc:creator>camargos88</dc:creator>
      <dc:date>2020-04-07T18:41:06Z</dc:date>
    </item>
  </channel>
</rss>

