<?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 by Multiple Column Value Conditions in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-by-Multiple-Column-Value-Conditions/m-p/3839290#M150103</link>
    <description>&lt;P&gt;I'm not familiar with PRODUCTX and the below solution from&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="608865" data-lia-user-login="DataNinja777" class="lia-mention lia-mention-user"&gt;DataNinja777&lt;/a&gt;&amp;nbsp;worked great. However, I will spend some time exploring this avenue as well to improve my skills. Thank you for the suggestion.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Apr 2024 23:23:29 GMT</pubDate>
    <dc:creator>DoesNotCompute</dc:creator>
    <dc:date>2024-04-15T23:23:29Z</dc:date>
    <item>
      <title>Filter by Multiple Column Value Conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-by-Multiple-Column-Value-Conditions/m-p/3834894#M149949</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been struggling with this for hours and can not figure a solution. Any help greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data set like the below. What I need to do via DAX (I'm trying to work in PowerPivot) is to exclude any City/State that is&amp;nbsp;&lt;STRONG&gt;not&lt;/STRONG&gt; in&amp;nbsp;&lt;STRONG&gt;both&lt;/STRONG&gt; retailers. Or to say, both retailers must be in the City/State for that City/State to remain in the data set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried regular value filters in the pivot table (less than 0) and that did not work, so thinking I need to filter via the data model in Power Pivot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for the example below, I would exclude both Springfield, ID (only Retailer A is located here) and Phoenix, AZ (only Retailer B is located here).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data Set:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Retailer&lt;/TD&gt;&lt;TD&gt;City, State&lt;/TD&gt;&lt;TD&gt;Month&lt;/TD&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Retailer A&lt;/TD&gt;&lt;TD&gt;Los Angeles, CA&lt;/TD&gt;&lt;TD&gt;1/1/2024&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Retailer A&lt;/TD&gt;&lt;TD&gt;Las Vegas, NV&lt;/TD&gt;&lt;TD&gt;1/1/2024&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Retailer A&lt;/TD&gt;&lt;TD&gt;Springfield, IL&lt;/TD&gt;&lt;TD&gt;1/1/2024&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Retailer A&lt;/TD&gt;&lt;TD&gt;Springfield, ID&lt;/TD&gt;&lt;TD&gt;1/1/2024&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Retailer B&lt;/TD&gt;&lt;TD&gt;Los Angeles, CA&lt;/TD&gt;&lt;TD&gt;1/1/2024&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Retailer B&lt;/TD&gt;&lt;TD&gt;Las Vegas, NV&lt;/TD&gt;&lt;TD&gt;1/1/2024&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Retailer B&lt;/TD&gt;&lt;TD&gt;Springfield, IL&lt;/TD&gt;&lt;TD&gt;1/1/2024&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Retailer B&lt;/TD&gt;&lt;TD&gt;Phoenix, AZ&lt;/TD&gt;&lt;TD&gt;1/1/2024&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Desired Output:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 23:01:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-by-Multiple-Column-Value-Conditions/m-p/3834894#M149949</guid>
      <dc:creator>DoesNotCompute</dc:creator>
      <dc:date>2024-04-12T23:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Filter by Multiple Column Value Conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-by-Multiple-Column-Value-Conditions/m-p/3835144#M149958</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="723737" data-lia-user-login="DoesNotCompute" class="lia-mention lia-mention-user"&gt;DoesNotCompute&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I produced your required output as follows:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;An example of the dax formulae to achive this output is as follows:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Where the data model looks like below:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2024 05:35:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-by-Multiple-Column-Value-Conditions/m-p/3835144#M149958</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2024-04-13T05:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Filter by Multiple Column Value Conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-by-Multiple-Column-Value-Conditions/m-p/3835830#M149981</link>
      <description>&lt;P&gt;You can consider using PRODUCTX and throwing away the BLANK()&amp;nbsp; results.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2024 21:30:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-by-Multiple-Column-Value-Conditions/m-p/3835830#M149981</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-04-13T21:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Filter by Multiple Column Value Conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-by-Multiple-Column-Value-Conditions/m-p/3839286#M150102</link>
      <description>&lt;P&gt;Fantastic, thank you so much.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 23:21:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-by-Multiple-Column-Value-Conditions/m-p/3839286#M150102</guid>
      <dc:creator>DoesNotCompute</dc:creator>
      <dc:date>2024-04-15T23:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Filter by Multiple Column Value Conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-by-Multiple-Column-Value-Conditions/m-p/3839290#M150103</link>
      <description>&lt;P&gt;I'm not familiar with PRODUCTX and the below solution from&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="608865" data-lia-user-login="DataNinja777" class="lia-mention lia-mention-user"&gt;DataNinja777&lt;/a&gt;&amp;nbsp;worked great. However, I will spend some time exploring this avenue as well to improve my skills. Thank you for the suggestion.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 23:23:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-by-Multiple-Column-Value-Conditions/m-p/3839290#M150103</guid>
      <dc:creator>DoesNotCompute</dc:creator>
      <dc:date>2024-04-15T23:23:29Z</dc:date>
    </item>
  </channel>
</rss>

